camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Webb <>
Subject request / response example
Date Wed, 11 Aug 2010 18:45:33 GMT
I am trying to figure out how to set up a request / response in Camel
with ActiveMQ.  Basically this is what I am looking for:

myapp -> queue.A -> processor(DB query) -> queue.A -> myapp

I have read through the documentation and the closest I have come is
the following sping-camel example:

	<from uri="jms:queue.A" />
	<process ref="processor" />
	<to uri="jms:queue.A" pattern="InOut" />

This seems to work, but it doesn't seem right to me that I need a
"from" and "to".  Plus I get a
org.apache.camel.ExchangeTimedOutException: exception on each message.

Thanks for any help you have,

View raw message