On Fri, Feb 1, 2013 at 6:25 AM, Liam Clarke-Hutchinson <l...@steelsky.co.nz> wrote: > 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. >
Maybe post more details such as the route, XML etc. Also what Camel and ActiveMQ version do you use? > 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? > Yes see the JMS docs http://camel.apache.org/jms > Regards, > > Liam Clarke -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen