Mapping WebSphere MQ fields onto JMS fields (incoming messages)

 

Table 1 shows how JMS header fields and Table 2 shows how JMS property fields are mapped into MQMD/MQRFH2 fields at send() or publish() time. Table 3 shows how JMS provider specific properties are mapped.

Incoming message JMS header field mapping
JMS header field name MQMD field retrieved from MQRFH2 field retrieved from
JMSDestination   jms.Dst
JMSDeliveryMode Persistence1 jms.Dlv1
JMSExpiration   jms.Exp
JMSPriority Priority  
JMSMessageID MessageID  
JMSTimestamp

PutDate1
PutTime1

jms.Tms1
JMSCorrelationID CorrelId1 jms.Cid1
JMSReplyTo

ReplyToQ1
ReplyToQMgr1

jms.Rto1
JMSType   mcd.Type, mcd.Set, mcd.Fmt
JMSRedelivered BackoutCount  

  1. For properties that can have values retrieved from the MQRFH2 or the MQMD, if both are available, the setting in the MQRFH2 is used.

Incoming message property mapping
JMS property name MQMD field retrieved from MQRFH2 field retrieved from
JMSXUserID UserIdentifier  
JMSXAppID PutApplName  
JMSXDeliveryCount BackoutCount  
JMSXGroupID GroupId1 jms.Gid1
JMSXGroupSeq MsgSeqNumber1 jms.Seq1

  1. For properties that can have values retrieved from the MQRFH2 or the MQMD, if both are available, the setting in the MQRFH2 is used.

Incoming message provider specific JMS property mapping
JMS property name MQMD field retrieved from MQRFH2 field retrieved from
JMS_IBM_Report_Exception Report  
JMS_IBM_Report_Expiration Report  
JMS_IBM_Report_COA Report  
JMS_IBM_Report_COD Report  
JMS_IBM_Report_PAN Report  
JMS_IBM_Report_NAN Report  
JMS_IBM_Report_ Pass_Msg_ID Report  
JMS_IBM_Report_Pass_Correl_ID Report  
JMS_IBM_Report_Discard_Msg Report  
JMS_IBM_MsgType MsgType  
JMS_IBM_Feedback Feedback  
JMS_IBM_Format Format  
JMS_IBM_PutApplType PutApplType  
JMS_IBM_Encoding 1 Encoding  
JMS_IBM_Character_Set 1 CodedCharacterSetId  
JMS_IBM_PutDate PutDate  
JMS_IBM_PutTime PutTime  
JMS_IBM_Last_Msg_In_Group MsgFlags  

  1. Only set if the incoming message is a Bytes Message.


uj25500_