JMS fields and properties with corresponding MQMD fields
Table 1 lists the JMS header fields and Table 2 lists the JMS properties that are mapped directly to MQMD fields. Table 3 lists the provider specific properties and the MQMD fields that they are mapped to.
JMS header fields mapping to MQMD fields JMS header field Java™ type MQMD field C type JMSDeliveryMode int Persistence MQLONG JMSExpiration long Expiry MQLONG JMSPriority int Priority MQLONG JMSMessageID String MessageID MQBYTE24 JMSTimestamp long PutDate
PutTimeMQCHAR8
MQCHAR8JMSCorrelationID String CorrelId MQBYTE24
JMS properties mapping to MQMD fields JMS property Java type MQMD field C type JMSXUserID String UserIdentifier MQCHAR12 JMSXAppID String PutApplName MQCHAR28 JMSXDeliveryCount int BackoutCount MQLONG JMSXGroupID String GroupId MQBYTE24 JMSXGroupSeq int MsgSeqNumber MQLONG
JMS provider specific properties mapping to MQMD fields JMS provider specific property Java type MQMD field C type JMS_IBM_Report_Exception int Report MQLONG JMS_IBM_Report_Expiration int Report MQLONG JMS_IBM_Report_COA int Report MQLONG JMS_IBM_Report_COD int Report MQLONG JMS_IBM_Report_PAN int Report MQLONG JMS_IBM_Report_NAN int Report MQLONG JMS_IBM_Report_Pass_Msg_ID int Report MQLONG JMS_IBM_Report_Pass_Correl_ID int Report MQLONG JMS_IBM_Report_Discard_Msg int Report MQLONG JMS_IBM_MsgType int MsgType MQLONG JMS_IBM_Feedback int Feedback MQLONG JMS_IBM_Format String Format1 MQCHAR8 JMS_IBM_PutApplType int PutApplType MQLONG JMS_IBM_Encoding int Encoding MQLONG JMS_IBM_Character_Set String CodedCharacterSetId MQLONG JMS_IBM_PutDate String PutDate MQCHAR8 JMS_IBM_PutTime String PutTime MQCHAR8 JMS_IBM_Last_Msg_In_Group boolean MsgFlags MQLONG
- JMS_IBM_Format represents the format of the message body. This can be defined by the application setting the JMS_IBM_Format property of the message (note that there is an 8 character limit), or can default to the WebSphere MQ format of the message body appropriate to the JMS message type. JMS_IBM_Format maps to the MQMD Format field only if the message contains no RFH or RFH2 sections. In a typical message, it will map to the Format field of the RFH2 immediately preceding the message body.
uj25450_