GetMapProperty
Returns the specified map execution property.
-
When using the tHMap component, all of the context variables are set as map execution properties. When using Camel (including the cMap component), the exchange's inbound headers are set as map execution properties.
To use this function, double-click it and then enter the name of the map execution property, without quotes, in the Property Name field of the Expression GetMapProperty Properties dialog box that opens.
-
You may also use defined properties for the execution of a map in Test Run mode. To use this feature, define the properties in a specific file stored in the folder, for example test_run_properties.csv. Define the properties with keys and values separated with a semi colon delimiter (one key/one value per line). These defined properties are then loaded to the map execution context before executing Test Run.
Information noteNote:- Ensure that you only have one properties file in the Sample Data folder.
- For variables defined in Talend Studio contexts, add the context prefix before the name of the variable in the test_run_properties.csv.
- You can change the name of the execution properties file and the delimiter in the Test preferences.
For more information on enabling the Test Run feature, see Test preferences.
Properties
Property Name | Enter the name of the map execution property to return. |