Question
GovernmentCIO
US
Last activity: 26 Aug 2020 8:17 EDT
How to get replyToQ (MDRQ) and ReplyToQMgr (MDRM) from MQ message header in Service JMS rule
We are using JMS MDB listener to process incoming message from legacy system. We want to capture reply to queue and reply to manager from incoming MQ message header. I have configured service JMS Message Header part to capture using JMSReplyTo and mapped a ReplyToQueue property in our integration class.
I see there are RepyToQ and RepltToQMgr in the incoming message header.
Incoming MQ Message Header.
|
MQ Message Header |
We are using JMS MDB listener to process incoming message from legacy system. We want to capture reply to queue and reply to manager from incoming MQ message header. I have configured service JMS Message Header part to capture using JMSReplyTo and mapped a ReplyToQueue property in our integration class.
I see there are RepyToQ and RepltToQMgr in the incoming message header.
Incoming MQ Message Header.
|
MQ Message Header |
|
StrucId : 'MD ' Version : 2 Report : 0[MQRO_NONE] MsgType : 8[MQMT_DATAGRAM] Expiry : -1[Not Expiring] Feedback : 0[MQFB_NONE] |
Would it capture both (replyToQ & ReplyToQMgr) or only one? Can someone help me here how to extract MQ message header? I really appreciate help.
After parsing message.

***Updated by moderator: Marissa to update categories***


This has been resolved with local solution:
The local solution is to Map JMS properties in the Service JMS rule. For example, first use the OOTB Connect-JMS explorer tool to view the JMS properties, similar to the screen below and map the property JMS_IBM_MQMQ_ReplyToQ to clipboard in the Service JMS rule request tab "Message properties" section.