This message flow reads the reply message from the Backend Reply message flow, and writes an output message containing an XML format payload. The message flow also restores the message context (CorrelationID and ReplyTo stored as name-value pairs in the Application_Properties folder in the Request flow) to the JMSCorrelationID and JMSReplyTo fields of the Header_Values folder. This message is read and processed by the originating application.
The following message flow is imported by the sample.
The JMS Reply message flow performs the following processing:
<StockInformation> <CompanyName>IBM</CompanyName> <Price>150</Price> </StockInformation>to the JMSReplyTo queue, which is set to reply to the original queue.