3.4. Java 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.
Java JMS Message Property | AMQP 0-10 Property[a] |
---|---|
JMSMessageID | mp.message_id |
qpid.subject[b] | mp.application_headers["qpid.subject"] |
JMSXUserID | mp.user_id |
JMSReplyTo | mp.reply_to[c] |
JMSCorrelationID | mp.correlation_id |
JMSDeliveryMode | dp.delivery_mode |
JMSPriority | dp.priority |
JMSExpiration | dp.ttl[d] |
JMSRedelivered | dp.redelivered |
JMS Properties | mp.application_headers |
JMSType | mp.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 Java JMS client implementation.
[c]
The reply_to is converted from the protocol representation into an address.
[d]
JMSExpiration = dp.ttl + currentTime
|