JMS fields and properties with corresponding MQMD fields
These tables show the MQMD fields equivalent to JMS header fields, JMS properties, and JMS provider-specific properties.
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 field Java type MQMD field C type JMSDeliveryMode int Persistence MQLONG JMSExpiration long Expiry MQLONG JMSPriority int Priority MQLONG JMSMessageID String MsgID MQBYTE24 JMSTimestamp long PutDate
PutTime
MQCHAR8
MQCHAR8
JMSCorrelationID String CorrelId MQBYTE24
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 Note:
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 Format 1 MQCHAR8 JMS_IBM_PutApplType int PutApplType MQLONG JMS_IBM_Encoding int Encoding MQLONG JMS_IBM_Character_Set String CodedCharacterSetId 2 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 IBM 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 maps to the Format field of the RFH2 immediately preceding the message body.
- JMS_IBM_Character_Set property value is a String value that contains the Java character set equivalent for the numeric CodedCharacterSetId value. MQMD field CodedCharacterSetId is a numeric value that contains the equivalent of the Java character set string specified by the JMS_IBM_Character_Set property.
Parent topic: Mapping JMS messages onto IBM MQ messages