camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liam Clarke-Hutchinson <l...@steelsky.co.nz>
Subject Camel proxies using Activemq queues
Date Fri, 01 Feb 2013 05:25:31 GMT
Hi,

I have a camel proxy defined using the Spring DSL that I'd like to
communicate synchronously with the implementing service via an
ActiveMQ queue, and while the service does receive the BeanInvocation,
the response never makes it back to the proxy and the request-reply
times out. My route is as follows:

<from uri="activemq:queue:PRODUCTS_SEEN"/>
<inOut uri="bean:productRetargetingService"/>

and the proxy's service URL is set to "activemq:queue:PRODUCTS_SEEN".

The request is received, and processed within the service, and we can
see the reply value being set on the out body of the exchange, but we
can't figure out what's going wrong after that.

Could it be because our proxy bean and the service bean are using
different camel contexts?
I understand (from somewhere) that a temporary response queue is
created by Camel, is there a way I can explicitly specify a response
queue?

Regards,

Liam Clarke

Mime
View raw message