To dynamically assign a message map to a Mapping node at runtime, you must pass the new map name in the local environment tree. You must define the new map name in the MappingRoutine element. The value you set in the MappingRoutine element overrides the map name that is set in the Mapping routine property of the Mapping node.
You can create, deploy, and run a message flow that invokes a different message map at a Mapping node.
You can override the mapping routine that is used to transform a message instance by specifying a new mapping routine in the local environment MappingRoutine element. You must specify the new mapping routine in the local environment tree that is upstream of the Mapping node that you need to modify.
The mapping routine qualified name that is provided in the MappingRoutine element must be defined in a map file that has to be deployed to the integration node in a BAR file where the message flow is deployed.
To override at runtime the message map configured during development in a Mapping node, you must complete the following steps:
You have configured your message flow to dynamically assign a message map to a Mapping node. In the first Mapping node, you have defined the logic to set the local environment MappingRoutine value. In the Mapping node where you want to dynamically assign a message map, you have defined a message map.