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 <patrick.vanseven...@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."