The JMSHeader node simplifies the modification of JMS headers. You can use the node to modify some of the selected properties of the Header_Values folder of the JMS header. You can also use the node to add, modify, or delete the name-value pairs under the Application_Properties folder of a JMS header.
JMS headers and their supported functionalities:
Header | Add | Modify | Replace | Delete | Carry Forward |
---|---|---|---|---|---|
Header_Values | No | Yes | No | No | Yes |
Application_Properties | Yes | Yes | No | Yes | Yes |
The following JMS coordinated request-reply sample is provided to demonstrate the use of the JMSHeader node.
JMS Coordinated Request-Reply
The JMS Coordinated Request-Reply sample is a message flow that is based on the scenario of two JMS applications, with different message formats, which communicate with each other. The two applications communicate by using JMS messages in a request-reply processing pattern. In this sample WebSphere MQ is used as a JMS provider.
The processing in the sample consists of three message flows and one message set. The message set sample MsgSet, with message definition msgdefInputMsg, is used to parse the input request message, backend request message, and reply message.
You can learn about the individual message flows in more detail by following the links below.
The following WebSphere MQ queues are created by the sample: