On 11/16/10 6:25 PM, Blair wrote:

ok, that does sound right, I have tried to convert it to inonly but that
didn't work well at all :)

How do I put the response back? I have been reading the documentation for
the last couple of days trying to work this particular problem out.

If the message exchange pattern is InOut, the producer of the activemq will try to wait for the response.

You need add other route to consume the message from the activemq endpoint like this

from("activemq:myqueue").transformation("RESPONSE");


I'm looking for a good example - if you have one then thats cool, if not
then you have at least given me a point in the right direction!

and for that alone I thank you :)


Willem.Jiang wrote:

Did you put the response back in the route which consumes the message
from "activemq:myqueue"?

If you just redirect a WebServiceResponse activemq endpoint, the
MessageExchangePattern is InOut, you need to make sure set the response
back.





--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to