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***