Following is a collection Qpid specific properties that can be used to retrieve information.

Property Name

AMQP Version

Description

How to use

qpid.subject

N/A

To retrieve the subject used when sending the message.
(see section on Addressing in Qpid programing Guide)

msg.getStringProperty("qpid.subject")

x-amqp-0-10.routing-key

0-10

This is used to retrieve the routing key the message was sent to.

msg.getStringProperty("x-amqp-0-10.routing-key")

x-amqp-0-10.app-id

0-10

This is used to set/get the application id in 0-10 message properties.

msg.getStringProperty("x-amqp-0-10.app-id")
msg.setStringProperty("x-amqp-0-10.app-id", myAppId)