camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: JMS route changes the JMSMessageID
Date Wed, 25 Apr 2012 03:45:47 GMT
On Tue, Apr 24, 2012 at 10:36 PM, Jason Queen <> wrote:
> I have a camel route that moves a message from an ActiveMQ queue to a
> WebsphereMQ queue.  In between the 2 endpoints I grab message and modify the
> body. I also grab the JMSMessageID and store it.  After this I set the
> JMSMessageID to a different number and stick it on the Exchange.  When the
> message arrives on the WebsphereMQ the JMSMessageID is different then what I
> set it to.   I'm using camel 2.8.4.   Is there a way to make camel not
> change the JMSMessageID?

You *cannot* control the JMSMessageID. That is entirely up to the
broker how the ID is assigned.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
CamelOne 2012 Conference, May 15-16, 2012:
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message