2010/1/11 yaog <[email protected]>: > > well, If I have; > > <route id="route1"> > <from uri="direct:start" /> > <to uri="bean:compAImpl" /> > <to uri="jms:compB" /> > <to uri="bean:compBImpl" /> > </route> > > and compBImpl returns a String, why isn't that equivalent to the transform > you mention?
Claus was talking about creating a separate route to implement the service at "jms:compB" which your route is attempting to communicate with. i.e. something which consumes from queue "compB" and returns responses based on the message its given. Do you already have some service consuming from jms:compB? Or did you think the pipeline you've created sends to jms:compB and consumes from it at the same time? Maybe its worth stepping back here a little - what are you trying to do with the "compB" queue? -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
