Because the MQ message ID is usually not part of the XML data, you can create pass-through ports to pass the MQ message ID data from the source to the target. You can use message ID data to correlate input and output messages for requests and replies.
MQ Message ID data passes from the Source Qualifier to the reference input port and then passes through the corresponding new output port to the target.
The following figure shows a mapping with a Message_ID port added as a pass-through port in the XML Generator transformation:
This example shows the ID data in the Source Qualifier linked to the COL0 reference input port in the XML Generator transformation. The XML Generator transformation passes the data through the Message_ID pass-through port to the MsgId port in the target.