camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Potential bug in camel jms
Date Wed, 02 Dec 2009 08:10:38 GMT

On Wed, Dec 2, 2009 at 8:26 AM, Christian Schneider
<> wrote:
> Hi,
> I am using the camel jms component to do soap/jms. I was using the option
> useMessageIDAsCorrelationID=true. This way Iwanted my client to set the
> message id as correlation id when doing a request.
> This worked well.
> The problem was that when the same jms component was used as a server this
> option was also effective. When the client sent in a message with a
> correlation id that did not match the message id then the camel server
> component still sent the message back with correlation id set to the message
> id. I think in the server case this is wrong. When the server receives a
> message with a correlation id set it should reply with the same correlation
> id. Am I correct here?

Yeah that makes sense. Cant see how the client would know its the
right reply. Although often Camel uses a temporary queue which means
that there is one one consumer.
But for a dedicated ReplyTo queue I would assume that correlation id
should match.

> In any case it was easy to solve thee problem by simply turning this option
> off but I still think this is a bug.

Could be.

> If necessary I can provide an example project.

Yeah an unit test would be preferred.

> Greetings
> Christian
> --
> Christian Schneider
> ---

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message