Accessing integration node properties from a Mapping node
You can access integration node properties from a Mapping node directly.
About this task
To obtain the value of an integration node property, call the appropriate iib:function_name function from a Custom XPath transform. These functions return a string with the value of the integration node property.
You can use content-assist to select the function name into the general properties of a Custom XPath transform.
Procedure
To access integration node properties from a Mapping node, choose one of the following functions:
- Call iib:getBrokerName() to get the name of the integration node where the Mapping node that is executing the message map is running.
- Call iib:getQueueManagerName() to get the name of the queue manager that is specified for the integration node, where the Mapping node that is executing the message map is running.
- Call iib:getNodeName() to get the name of the Mapping node from the Node name property of the node in the message flow.
- Call iib:getMessageFlowName() to get the name of the message flow where the Mapping node that is executing the message map is running.
- Call iib:getApplicationName() to get the name of the application where the message flow that contains the Mapping node that is executing the message map is running.
- Call iib:getLibraryName() to get the name of the library where the message flow that contains the Mapping node that is executing the message map is running.