On Tue, Apr 17, 2012 at 12:18 AM, garrydias <garryd...@gmail.com> wrote:
> /Have you seen the section on the Camel JMS doc page about
> request/reply over JMS? /
> Yes.
>
> /I assume you mean request/reply over JMS, where the caller waits for the
> reply? /
> Exactly.
>
> /If you do request/reply over a JMS queue, you need a consumer on the
> processingQueue to pickup the incoming message, process that message,
> and send back the reply according to the JMSReplyTo header. If not
> then there is no reply going back to the caller, and it will timeout.
> Camel timeout by default after 20 seconds. /
> So, is my consumer the one that must send the message to replyTo? Have I to
> write the code for that at the end of my /process/ method? I thought Camel
> was responsible to check when my /process /method ends and send the message
> to replyTo queue automatically .
>
> /What do you want to do? If you disableReplyTo then you do not do
> request/reply over JMS. But use one-way messaging.
> That is an Event Message in the EIP terms
> http://camel.apache.org/event-message.html/
> Forget It! I was a little confused when tried this approach.
>
> Now I understand what is happening. Perhaps I was doing something wrong when
> setting up the reply to queue. So the messages was set to processingQueue
> and they are consumed but Camel was not able to send this consumed message
> to replyTo queue.
>
> After check some examples and read(and re-read) the docs I could setup my
> routes and the messages are conumed from processingQueue and then sent to
> reply queue.
>
> Thanx for your reply.
>

Ah good. Yeah request/reply over JMS can be a bit tricky from time to time.
Glad you got it working.



>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Too-slow-JMS-pipeline-when-disableReplyTo-false-tp5642225p5645106.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to