Any suggestions on this?

-----Original Message-----
From: Vanshul.Chawla [mailto:[email protected]] 
Sent: Monday, October 19, 2015 3:50 PM
To: [email protected]
Subject: Passing ReplyToQueue for a InOnly exchange

Hello all,

We need to set ReplyToQueue for IBM MQ for a message going out to a 
queue(Exchange is InOnly). We have set as

<setHeader headerName="JMS_IBM_MQMD_ReplyToQ">
                                  <simple 
resultType="java.lang.String">FN=${in.header.TransactionReferenceNumber}</simple>
                     </setHeader>
                     <setHeader headerName="JMSReplyTo">
                                  <simple 
resultType="java.lang.String">FN=${in.header.TransactionReferenceNumber}</simple>
                     </setHeader>
                     <log message="headers are ${headers}"/>
                     <to 
uri="wmq-qm-SA-OMS-Genco1:queue:{{saGenco.WMQ.OutQueue}}?replyTo=${header.JMSReplyTo}&amp;preserveMessageQos=true"
 />


I can see headers getting set but when I get the message from queue on other 
side, the headers are null.

What is missing in above statement?

Vanshul

Reply via email to