About the JMS Backend message flow
This flow simulates an established application that receives a
JMS message in XML format, processes the contents by adding the backend
result in the XML message, and writes a reply JMS message containing a
payload in XML format.
The following message flow is imported by the sample.

The JMS Backend message flow performs the following processes:
- The message flow reads the JMS request message in an XML format from the JMS
queue by using a JMSInput node (JMSBackendInput).
- The JMSInput node (JMSBackendInput) uses the message set JMSCoordinatedRequestReplyMsgSet to
parse the request message.
- The message flow performs the computation on the request message by using a Compute node
(Backend_Computation) to work out the
latest stock price of CompanyName and to add the price element, with its value, into
the XML message. A hard code value of the stock price is used in this
sample.
- The message flow sets the JMSReplyTo queue name by using a JMSHeader node
(SetBackendReplyToQ) in the Header_Values properties of the JMSHeader
node.
- Sends the reply message from the Backend message flow
<StockInformation>
<CompanyName>IBM</CompanyName>
<Price>150</Price> </StockInformation>
to the JMSReplyTo queue by using a JMSOutput node (JMSBackendOutput).
Back to sample home