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

Table 1. Mapping non-routing message property fields to JMS 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



Related tasks
Working with non-routing path fields in a message header
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 9:31:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rjy1380
File name: rjy1380.html