You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Julien Charon <Ju...@avitech.aero> on 2016/03/08 10:11:11 UTC
JMS client set headers, message and delivery annotations
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.charon@avitech.aero<ma...@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.
AW: JMS client set headers, message and delivery annotations
Posted by Julien Charon <Ju...@avitech.aero>.
Hi Robbie,
Alright, thanks for the info.
Best regards,
Julien
Avitech GmbH
Engineering AxL
Tel.: +49 (0)7541/282-177
Fax: +49 (0)7541/282-199
e-mail: julien.charon@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
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.
-----Ursprüngliche Nachricht-----
Von: Robbie Gemmell [mailto:robbie.gemmell@gmail.com]
Gesendet: Dienstag, 8. März 2016 12:49
An: users@qpid.apache.org
Betreff: Re: JMS client set headers, message and delivery annotations
The intent is to add such support eventually yes, but it hasn't happened yet and I am currently tied up with other things. There is some work needed to define the behaviour for the AMQP JMS mapping and implement it, I have raised
https://issues.apache.org/jira/browse/QPIDJMS-153 to track things from the client side.
Robbie
On 8 March 2016 at 11:04, Julien Charon <Ju...@avitech.aero> wrote:
> Hi Robbie,
>
>
> Will that be added in future?
>
>
> Best regards,
>
> Julien
>
> Avitech GmbH
> Engineering AxL
> Tel.: +49 (0)7541/282-177
> Fax: +49 (0)7541/282-199
> e-mail: julien.charon@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
>
> 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.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Robbie Gemmell [mailto:robbie.gemmell@gmail.com]
> Gesendet: Dienstag, 8. März 2016 11:52
> An: users@qpid.apache.org
> Betreff: Re: JMS client set headers, message and delivery annotations
>
> 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 <ro...@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 <Ju...@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.charon@avitech.aero<ma...@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-unsubscribe@qpid.apache.org For
> additional commands, e-mail: users-help@qpid.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For
> additional commands, e-mail: users-help@qpid.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org
Re: JMS client set headers, message and delivery annotations
Posted by Robbie Gemmell <ro...@gmail.com>.
The intent is to add such support eventually yes, but it hasn't
happened yet and I am currently tied up with other things. There is
some work needed to define the behaviour for the AMQP JMS mapping and
implement it, I have raised
https://issues.apache.org/jira/browse/QPIDJMS-153 to track things from
the client side.
Robbie
On 8 March 2016 at 11:04, Julien Charon <Ju...@avitech.aero> wrote:
> Hi Robbie,
>
>
> Will that be added in future?
>
>
> Best regards,
>
> Julien
>
> Avitech GmbH
> Engineering AxL
> Tel.: +49 (0)7541/282-177
> Fax: +49 (0)7541/282-199
> e-mail: julien.charon@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
>
> 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.
>
>
> -----Ursprüngliche Nachricht-----
> Von: Robbie Gemmell [mailto:robbie.gemmell@gmail.com]
> Gesendet: Dienstag, 8. März 2016 11:52
> An: users@qpid.apache.org
> Betreff: Re: JMS client set headers, message and delivery annotations
>
> 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 <ro...@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 <Ju...@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.charon@avitech.aero<ma...@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-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
> For additional commands, e-mail: users-help@qpid.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
AW: JMS client set headers, message and delivery annotations
Posted by Julien Charon <Ju...@avitech.aero>.
Hi Robbie,
Will that be added in future?
Best regards,
Julien
Avitech GmbH
Engineering AxL
Tel.: +49 (0)7541/282-177
Fax: +49 (0)7541/282-199
e-mail: julien.charon@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
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.
-----Ursprüngliche Nachricht-----
Von: Robbie Gemmell [mailto:robbie.gemmell@gmail.com]
Gesendet: Dienstag, 8. März 2016 11:52
An: users@qpid.apache.org
Betreff: Re: JMS client set headers, message and delivery annotations
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 <ro...@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 <Ju...@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.charon@avitech.aero<ma...@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-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: JMS client set headers, message and delivery annotations
Posted by Robbie Gemmell <ro...@gmail.com>.
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 <ro...@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 <Ju...@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.charon@avitech.aero<ma...@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
AW: JMS client set headers, message and delivery annotations
Posted by Julien Charon <Ju...@avitech.aero>.
Hi Rob,
I'm using the new Qpid JMS client (org.apache.qpid: qpid-jms-client:0.8.0).
Is there no possibility to set those with the new client?
I found some hint to that in the org.apache.qpid.jms.provider.amqp.message.AmqpJmsMessageFacade, but I have no idea how to set them by JMS means, e.g. javax.jms.Message.setStringProperty(String, String).
Best regards,
Julien
Avitech GmbH
Engineering AxL
Tel.: +49 (0)7541/282-177
Fax: +49 (0)7541/282-199
e-mail: julien.charon@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
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.
-----Ursprüngliche Nachricht-----
Von: Rob Godfrey [mailto:rob.j.godfrey@gmail.com]
Gesendet: Dienstag, 8. März 2016 11:25
An: users@qpid.apache.org
Betreff: Re: JMS client set headers, message and delivery annotations
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 <Ju...@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.charon@avitech.aero<ma...@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org
Re: JMS client set headers, message and delivery annotations
Posted by Rob Godfrey <ro...@gmail.com>.
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 <Ju...@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.charon@avitech.aero<ma...@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.
>
>