19.2. AMQ 0-10 Message Property Keys
The Qpid Messaging API recognizes special message property keys and automatically provides a mapping to their corresponding AMQP 0-10 definitions.
For example, when sending a message, if the properties contain an entry for
x-amqp-0-10.app-id
, its value will be used to set the message-properties.app-id
property in the outgoing message. Likewise, if an incoming message has message-properties.app-id
set, its value can be accessed via the x-amqp-0-10.app-id
message property key.
Similarly, when sending a message, if the properties contain an entry for
x-amqp-0-10.content-encoding
, its value will be used to set the message-properties.content-encoding
property in the outgoing message. Likewise, if an incoming message has message-properties.content-encoding
set, its value can be accessed via the x-amqp-0-10.content-encoding
message property key.
The routing key (
delivery-properties.routing-key
) in an incoming messages can be accessed via the x-amqp-0-10.routing-key
message property.