---Original Message-----
From: Gordon Sim [mailto:[email protected]] 
>On 08/21/2014 03:29 AM, James Birdsall wrote:
>> For interop, I need to put values into the message annotations when sending 
>> a message, but that doesn't seem to be possible. Annotations can be set via 
>> message constructors, but those are not public, and the public message 
>> create functions in Session/SessionImpl do not offer a way to pass 
>> annotation values. And then once you have a message object, there are no 
>> setters that put values in the map. Short of hacking setStringAnnotation() 
>> into MessageImpl, I think I'm stuck. Have I missed something?

>Which API is this with?

This is the JMS AMQP 1.0 client. We (Azure ServiceBus) have customers using/who 
want to use the Qpid JMS client with our AMQP 1.0 support and I'm trying to 
prepare samples to show how to use some of our newest features.

If I'm right, is there any philosophical objection to adding 
MessageImpl.setStringAnnotation() or the equivalent? I'm willing to do the 
coding and testing and submit a patch. Telling customers that the feature will 
be accessible in 0.32 (or whenever) is a better story than just "sorry".

--James

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to