There are a number of IBM defined properties of a message that XMS and WebSphere JMS both support.
Table 1 lists the IBM defined properties of a message that are supported by both XMS and WebSphere JMS. For more information about the IBM defined properties, see WebSphere MQ Using Java or the WebSphere Application Server Information Center.
The table specifies the data type of each property and indicates how the value of the property is set for a transmitted message. Note that some of the properties are set automatically by XMS when an application sends a message.
XMS name of the IBM defined property | WebSphere JMS name | Data type | How the value is set for a transmitted message (in the format method [class]) |
---|---|---|---|
JMS_IBM_CHARACTER_SET | JMS_IBM_Character_Set | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_ENCODING | JMS_IBM_Encoding | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_EXCEPTIONMESSAGE | JMS_IBM_ExceptionMessage | String | Receive [MessageConsumer] |
JMS_IBM_EXCEPTIONREASON | JMS_IBM_ExceptionReason | xmsINT | Receive [MessageConsumer] |
JMS_IBM_EXCEPTIONTIMESTAMP | JMS_IBM_ExceptionTimestamp | xmsLONG | Receive [MessageConsumer] |
JMS_IBM_EXCEPTIONPROBLEM |
JMS_IBM_ExceptionProblemDestination | String | Receive [MessageConsumer] |
JMS_IBM_FEEDBACK | JMS_IBM_Feedback | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_FORMAT | JMS_IBM_Format | String | Set String Property [PropertyContext] |
JMS_IBM_LAST_MSG_IN_GROUP | JMS_IBM_Last_Msg_In_Group | xmsBOOL | Set Integer Property [PropertyContext] |
JMS_IBM_MSGTYPE | JMS_IBM_MsgType | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_PUTAPPLTYPE | JMS_IBM_PutApplType | xmsINT | Send [MessageProducer] |
JMS_IBM_PUTDATE | JMS_IBM_PutDate | String | Send [MessageProducer] |
JMS_IBM_PUTTIME | JMS_IBM_PutTime | String | Send [MessageProducer] |
JMS_IBM_REPORT_COA | JMS_IBM_Report_COA | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_COD | JMS_IBM_Report_COD | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_DISCARD_MSG | JMS_IBM_Report_Discard_Msg | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_EXCEPTION | JMS_IBM_Report_Exception | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_EXPIRATION | JMS_IBM_Report_Expiration | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_NAN | JMS_IBM_Report_NAN | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_PAN | JMS_IBM_Report_PAN | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_PASS_CORREL_ |
JMS_IBM_Report_Pass_Correl_ID | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_REPORT_PASS_MSG_ID | JMS_IBM_Report_Pass_Msg_ID | xmsINT | Set Integer Property [PropertyContext] |
JMS_IBM_SYSTEM_MESSAGEID | JMS_IBM_System_MessageID | String | Send [MessageProducer] |