You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Patrick Vansevenant <pa...@tvh.com> on 2016/12/13 20:58:20 UTC
Problem with setting JMSCorrelationID in ActiveMQ 5.14.1 with java
Qpid client.
When the JMSCorrelationID starts with 'ID:' then 'ID:' is trimmed when
setting the
JMSCorrelationID with a java Qpid client.
For me it is unexpected behavior but does anyone know the reason for that ?
Patrick
--
**** DISCLAIMER ****
http://www.tvh.com/glob/en/email-disclaimer
"This message is delivered to all addressees subject to the conditions
set forth in the attached disclaimer, which is an integral part of this
message."
Re: Problem with setting JMSCorrelationID in ActiveMQ 5.14.1 with
java Qpid client.
Posted by Patrick Vansevenant <pa...@tvh.com>.
I had used client version 0.9.0. And I had used the JMSMessageID of an
incoming message.
I have redone my test with client version 0.11.0 and now the
JMSCorrelationID is set correctly !
--
View this message in context: http://activemq.2283324.n4.nabble.com/Problem-with-setting-JMSCorrelationID-in-ActiveMQ-5-14-1-with-java-Qpid-client-tp4720291p4720307.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Problem with setting JMSCorrelationID in ActiveMQ 5.14.1 with
java Qpid client.
Posted by Robbie Gemmell <ro...@gmail.com>.
What client version are you using? What are you setting as the ID?
Earlier client versions did trim the "ID:" and used an AMQP
message-annotation to record its presence for other JMS peers, such
that non-JMS AMQP peers didn't need to deal with the whole "ID:"
situation in message-id or correlation-id values. This was changed in
the 0.11.0 release however so that the "ID:" is instead retained, to
avoid some interoperability issues when round-tripping the IDs between
different messages, at expense of non-JMS peers now needing to
consider the "ID:" stuff for best interop with the JMS client.
https://issues.apache.org/jira/browse/QPIDJMS-189
On 13 December 2016 at 20:58, Patrick Vansevenant
<pa...@tvh.com> wrote:
> When the JMSCorrelationID starts with 'ID:' then 'ID:' is trimmed when
> setting the
> JMSCorrelationID with a java Qpid client.
> For me it is unexpected behavior but does anyone know the reason for that ?
>
> Patrick
>
> --
>
>
> **** DISCLAIMER ****
>
> http://www.tvh.com/glob/en/email-disclaimer
>
> "This message is delivered to all addressees subject to the conditions
> set forth in the attached disclaimer, which is an integral part of this
> message."