On Mon, Jan 11, 2010 at 3:35 PM, yaog <[email protected]> wrote: > > Basically, I am evaluating Camel at the moment. > > It is desired by our architecture to have routes that activate different > beans (through different queues) and be able to get their responses back to > the caller thread. >
You need a consumer on the JMS queue to send back the reply on the temporary JMS queue. If you do not use Camel for that then you need some other "stuff" to do that. If you want to use Camel for that then you need to create a 2nd route which I posted to you before. Instead of that transform then let it invoke a bean instead <route> <from uri="jms:queue:foo"/> <bean ref="xxx" method="bar"/> </route> <bean id="xxx" class="com.mycompany.XXX"/> > So that is what I am trying to do. If I define different routes I will not > be able to send the info back... > -- > View this message in context: > http://old.nabble.com/route-debugging-tp27107483p27111395.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
