WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Message header information

This topic describes the mapping of the non-routing message property fields to JMS header fields, and the methods available to work with them.

Header fields

SIMessage header field Field description Corresponding JMS message header field SIMessage methods
Priority (ReplyPriority) Integer value 0-9, higher value is higher message priority JMSPriority (integer)
  • getPriority
  • setPriority
  • getReplyPriority
  • setReplyPriority
Reliability (ReplyReliability) Specifies the reliability of message delivery. See Message reliability levels for a description of the allowed values. JMSDeliveryMode (string) supports two levels of reliability: PERSISTENT and NON_PERSISTENT
  • getReliability
  • setReliability
  • getReplyReliebility
  • setReplyReliability
TimeToLive (ReplyTimeToLive, RemainingTimeToLive) An integer that represents the time in milliseconds that a message can remain on the queue before it expires. JMSExpiration (long) is the time of expiry, calculated as "current time" plus (+) "time-to-live".
  • getTimeToLive
  • getReplyTimeToLive
  • getRemainingTimeToLive
  • setTimeToLive
  • setReplyTimeToLive
  • setRemainingTimeToLive
Discriminator (ReplyDiscriminator) A string that contains a topic name that is tested by a selector rule to determine if the message should be mediated. No corresponding JMS field
  • getDiscriminator
  • setDiscriminator
  • getReplyDiscriminator
  • setReplyDiscriminator
RedeliveredCount Read-only field (integer) that holds that counts each time a message is re-delivered. JMSRedelivered (boolean) indicates that it is likely, but not guaranteed, that the message was delivered but unacknowledged in the past. getRedeliveredCount
ApiMessageId A string that uniquely identifies each message sent. JMSMessageId (string)
  • getApiMessageId
  • setApiMessageId
CorrelationId A string that links two messages, typically linking a request message with its response. JMSCorrelationId (string)
  • getCorrelationId
  • setCorrelationId
UserId A string that represents the identity of the user sending the message. JMSX Userid is a message property not used by WebSphere Application server.
  • getUserId
  • setUserId

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/ref/rjy1380.html

Copyright IBM Corporation 2004, 2008. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)