Menu Search

Chapter 3. Miscellaneous

3.1. JMS Message Properties

The following table shows how Qpid Messaging API message properties are mapped to AMQP 0-10 message properties and delivery properties. In this table msg refers to the Message class defined in the Qpid Messaging API, mp refers to an AMQP 0-10 message-properties struct, and dp refers to an AMQP 0-10 delivery-properties struct.

Table 3.1. JMS Mapping to AMQP 0-10 Message Properties

JMS Message PropertyAMQP 0-10 Property[a]
JMSMessageIDmp.message_id
qpid.subject[b]mp.application_headers["qpid.subject"]
JMSXUserIDmp.user_id
JMSReplyTomp.reply_to[c]
JMSCorrelationIDmp.correlation_id
JMSDeliveryModedp.delivery_mode
JMSPrioritydp.priority
JMSExpirationdp.ttl[d]
JMSRedelivereddp.redelivered
JMS Propertiesmp.application_headers
JMSTypemp.content_type

[a] In these entries, mp refers to an AMQP message property, and dp refers to an AMQP delivery property.

[b] This is a custom JMS property, set automatically by the JMS client implementation.

[c] The reply_to is converted from the protocol representation into an address.

[d] JMSExpiration = dp.ttl + currentTime