Input Parameters
You can reference an input parameter instead of a field from the source message. If this is necessary, you can do so using the following syntax.
This example shows how to set the input parameters in the mapping configuration:
fieldMappings:
targetFieldOne: "#params.paramOne"
The value after the #params
must exactly match the parameter name that is
passed in. This works in much the same way as mapping values from source fields and can
apply field value mappers (needed to perform type conversion) and set default
values.
Default values for field mappings can also reference input parameters using the following syntax. In this example, input parameters are used for the default value:
fieldMappings:
targetFieldOne: {from: "sourceMsg.sourceFieldOne", default: "#params.paramOne"}