About the JMS Request message flow
This message flow reads a request message from an application that is able to
write the test message for this sample. This message is read and
processed by the Backend message flow, which simulates an
established application. The JMS Request message flow also stores the message context
details (JMSMessageID and JMSReplyTo) in the Application_Properties folder of the
JMS header as name-value pairs.
- This message flow reads a JMS message containing an XML payload from the JMS queue.
- The message saves the original JMSReplyToQ and JMSMessageID values from
the Header_Values folder in the MessageID and ReplyTo name-value pairs of
the Application_Properties folder of the JMS header for subsequent
retrieval by the reply message flow.
- It sends the message to the Backend Reply message flow.
The following message flow is imported by the sample:
The JMS Request message flow performs the following processing:
- A JMSInput node (JMSRequestInput) reads the XML message
<StockInformation><CompanyName>IBM</CompanyName>
</StockInformation>
- The JMSInput node (JMSRequestInput) uses the message set JMSCoordinatedRequestReplyMsgSet to
parse the request message.
- The JMSHeader node
(StoreJMSMessageIDandJMSReplyToIntoApplicationProperties) creates
the CorrelationID and ReplyTo fields in the Application_Properties folder of
the JMS header, and stores the JMSMessageID and JMSReplyTo values
from the JMS Header_Values folder of the incoming message.
- The JMSOutput node (JMSRequestOutput) sends the message to the
Backend message flow.
Back to sample home