Overriding map properties at run time

Override map properties at run time by using the IBM® Integration Bus LocalEnvironment.

The message flow derives the map properties from different sources, and searches for the properties in the order listed:
  1. Run time
    • Source: LocalEnvironment
    • Override the map server location and input card to wire map properties at run time in the LocalEnvironment.
    • For information about how the LocalEnvironment works, see the related topics in the IBM Integration Bus product documentation.
  2. Deploy time
    • Source: broker archive (bar) file
    • Override the cache map, map server location, and input card to wire map properties at deploy time in the bar file using the Configure tab of the Properties view, which is under the Manage tab in the Broker Archive editor.
  3. Design time
    • Source: TX Map node
    • Override the map and card properties at design time in the Map Settings tab of the TX Map node.
At run time, override the following map properties by using the IBM Integration Bus LocalEnvironment tree from a prior node in the message flow, such as a Compute node, which can change the LocalEnvironment to override parameters in the tree that is passed to the TX Map node:
MapServerLocation property
LocalEnvironment tree path: LocalEnvironment.WTX.MapServerLocation
Purpose: To run the compiled map located in a different location than the location configured on the TX Map node.
Result: IBM Integration Bus overrides the map server location with the location you specified in the LocalEnvironment tree, and the TX Map node runs the map from this location instead.
CardNumberToWire property
LocalEnvironment tree path: LocalEnvironment.WTX.InputCardNumberToWire
Purpose: To specify which input card of the map should be wired.
Result: The specified map input card receives its data from the prior node in the message flow.