You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by chris snow <ch...@gmail.com> on 2012/07/03 09:26:45 UTC

CamelProxy request/reply over jms with long-running transactions

Hi Forum,

Is CamelProxy (http://camel.apache.org/using-camelproxy.html)
request/reply over jms suitable for long-running transactions?

How does CamelProxy set up the handling of the jms response?  Does it
create a jms listener, or listening thread, or something else?

Many thanks,

Chris

Re: CamelProxy request/reply over jms with long-running transactions

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

The proxy is just a facade on top of regular Camel endpoints. So it
works the same as in a Camel rout doing a req/reply over JMS using a
<to> etc.

There is a default timeout of about 20 sec, waiting for the reply. You
can of course configure this value.

And no long running is not suitable for req/reply, eg if the reply
comes back 2 days later.




On Tue, Jul 3, 2012 at 9:26 AM, chris snow <ch...@gmail.com> wrote:
> Hi Forum,
>
> Is CamelProxy (http://camel.apache.org/using-camelproxy.html)
> request/reply over jms suitable for long-running transactions?
>
> How does CamelProxy set up the handling of the jms response?  Does it
> create a jms listener, or listening thread, or something else?
>
> Many thanks,
>
> Chris



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen