WebSphere WebSphere Business Integration Message Service Clients for C/C++ Version 1.2.7 and .NET Version 1.2.6 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++, or IMessage for .NET. 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]
Related reference
Parts of an XMS message
Properties of an XMS message
The body of an XMS message
Message selectors
Mapping XMS messages onto WebSphere MQ messages

Reference topic

Terms of Use | Rate this page

Last updated: 18 Jun 2008

© Copyright IBM Corporation 2005, 2008. All Rights Reserved.