camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: InOut JMS question with ProducerTemplate
Date Sat, 17 Jul 2010 14:27:53 GMT
On Sat, Jul 17, 2010 at 4:17 PM, reynol16 <> wrote:
> I know I'm missing something in the javadoc, but it says I should be able to
> call sendBody and send in an ExchangePattern.INOUT or call requestBody and
> both should receive a reply.  But I have logging turned on in my process,
> and it seems that when I use either of these methods, processing stops in
> the route after the queue.

If you want to do request/reply over JMS
You need a JMS consumer on that JMS queue you send to which can pick
up the message, process it and send back the reply to JMSReplyTo.

You can configure the timeout value from 20 sec to longer/lower if you need.

> Claus Ibsen-2 wrote:
>> Hi
>> Read the javadoc of the ProducerTemplate from the just released Apache
>> Camel 2.4. It highlights the difference between the send* / request*
>> methods.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Apache Camel Committer

Author of Camel in Action:
Open Source Integration:

View raw message