WebSphere Message Service Client for C/C++, Version 2.0.2 Operating Systems: AIX, Linux, Solaris, Windows

Header fields in an XMS message

To allow an XMS application to exchange messages with a WebSphere JMS application, the header of an XMS message contains the JMS message header fields.

The names of these header fields commence with the prefix JMS. For a description of the JMS message header fields, see the Java Message Service Specification, Version 1.1.

XMS implements the JMS message header fields as attributes of a Message object. Each header field has its own methods for setting and getting its value. For a description of these methods, see Message for C, or Message for C++. A header field is always readable and writable.

Table 1 lists the JMS message header fields and indicates how the value of each field is set for a transmitted message. Some of the fields are set automatically by XMS when an application sends a message or, in the case of JMSRedelivered, when an application receives a message.

Table 1. JMS message header fields
Name of the JMS message header field How the value is set for a transmitted message (in the format method [class])
JMSCorrelationID Set JMSCorrelationID [Message]
JMSDeliveryMode Send [MessageProducer]
JMSDestination Send [MessageProducer]
JMSExpiration Send [MessageProducer]
JMSMessageID Send [MessageProducer]
JMSPriority Send [MessageProducer]
JMSRedelivered Receive [MessageConsumer]
JMSReplyTo Set JMSReplyTo [Message]
JMSTimestamp Send [MessageProducer]
JMSType Set JMSType [Message]

Reference topic

Terms of Use | Rate this page

Last updated: 24 May 2011

(C) Copyright IBM Corporation 2005, 2011. All Rights Reserved.