Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
As per the discussion here:
http://qpid.2158936.n2.nabble.com/Setting-message-annotations-on-send-in-AMQP-1-0-td7612277.html
it would be useful to be able to explicitly set AMQP Message and Delivery annotations through the JMS AMQP 1.0 client. Similarly it would also be beneficial to provide a mechanism for the user to read the annotations.
The proposal is to add two "vendor" properties JMS_AMQP_MESSAGE_ANNOTATIONS and JMS_AMQP_DELIVERY_ANNOTATIONS which will take a String value which is a Json encoding of the annotation map. Note annotations which the JMS client uses for itself will be explicitly excluded from the presentations of the annotation map to the user.