The newer Proton-based 'qpid-jms-client' AMQP 1.0 JMS client can't yet
set MessageAnnotations or DeliveryAnnotations.

The durable/priority/ttl fields of the Header section are set
according to JMS producer semantics for delivery mode, priority, and
expiration, with the delivery count field accessable via the message
JMSXDeliveryCount (though note the JMS count is 1 higher than the AMQP
delivery count value, as they start at 1 and 0 respectively).

Robbie

On 8 March 2016 at 10:25, Rob Godfrey <rob.j.godf...@gmail.com> wrote:
> Hi Julien,
>
> can you clarify which JMS client you are using - the "old"
> amqp-1-0-client-jms or the new Qpid JMS client?  Your JIRA references the
> earlier client and a fix was applied in the 0.32 release of that... I'm not
> sure whether there is an equivalent mechanism in the newer Proton-based
> Qpid JMS client.
>
> -- Rob
>
> On 8 March 2016 at 09:11, Julien Charon <julien.cha...@avitech.aero> wrote:
>
>>   Hi,
>>
>>
>> I have a short question regarding the JMS client. How can I set headers
>> and delivery / message annotations on a JMS message?
>> I found a jira issue [1] regarding this, but it's quite old and doesn't
>> seem to be valid anymore.
>> Is there some documentation in how to do this?
>>
>> [1] https://issues.apache.org/jira/browse/QPID-6065
>>
>>
>> Best regards,
>> Julien
>>
>> Avitech GmbH
>> Engineering AxL
>> Tel.: +49 (0)7541/282-177
>> Fax: +49 (0)7541/282-199
>> e-mail: julien.cha...@avitech.aero<mailto:julien.cha...@avitech.aero>
>> ________________________________________________
>> Avitech GmbH
>> Principal Office: Bahnhofplatz 1 | 88045 Friedrichshafen | Germany
>> Court Registration: Amtsgericht Ulm | HRB 728293
>> Geschäftsführer/Managing Director: Jon Joseba Goyarzu Caño
>> http://avitech.aero<http://avitech.aero/>
>>
>> This message may contain confidential information and is intended only for
>> the individual named. If you are not the named addressee you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately by e-mail if you have received this e-mail by mistake and
>> delete this e-mail from your system.
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to