Question

3
Replies
483
Views
VijenderM1624 Member since 2015 3 posts
GovernmentCIO
Posted: August 29, 2016
Last activity: August 26, 2020
Closed
Solved

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

StrucId : 'MD '    Version : 2     Report : 0[MQRO_NONE]     MsgType : 8[MQMT_DATAGRAM]     Expiry : -1[Not Expiring]     Feedback : 0[MQFB_NONE]
Encoding : 273          CodedCharSetId : 819         Format : 'MQSTR '          Priority : 0         Persistence : 1[Persistent]
MsgId : X'C1D4D840D8D44BE4D7D4C34BD7C5C7C157BAFEA020010302'
CorrelId : X'000000000000000000000000000000000000000000000000'
BackoutCount : 0
ReplyToQ : 'CLAIMS.PEGA.RESPONSE.DEV '         ReplyToQMgr : 'QM.UPMC.PEGA.DEV '
UserIdentifier : ' '
AccountingToken : X'0000000000000000000000000000000000000000000000000000000000000000'
ApplIdentityData : 'UPMIMC41 '
PutApplType : '8'[MQAT_OS400]          PutApplName : '514544/UPMSKALITG/QPADEV000C'
PutDate : '20160826'          PutTime : '13354034'
ApplOriginData : ' '
GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'         Offset : '0'         MsgFlags : '0'         OriginalLength : '-1'

 

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.

 

Image removed.

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

Data Integration
Moderation Team has archived post
Share this page LinkedIn