camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Resource lock, endpoint calling it self in for-loop
Date Wed, 17 Sep 2014 06:58:23 GMT
Yes you are blocking the thread with the requestBody method call, and
sending to yourself. So you end up with no available consumer to
pickup and process the messages. If you use another queue then you
dont send to yourself, and therefore have available consumers to
process and send back the reply message, so the request body method
can get the result and continue.

And btw sending messages to yourself is likely not a good design.

On Wed, Sep 17, 2014 at 8:27 AM, frodejoh <> wrote:
> Forgot to specify:
> Tried on Camel v. 2.13.0 and 2.13.2
> Would be nice if someone could help out. The given example should be enough
> to create a little use case to demonstrate the problem.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message