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:

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

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,
Mark

Reply via email to