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.

On 11/16/10 10:33 AM, Blair wrote:

ok, lets try this again with a MUCH simpler example of whats going on.


from("direct:fromWebService").convertBodyTo(String.class).to("activemq:myqueue");

is generating the same problems.

I can't seem to go from a web service to activeMQ. I can go directly to
other components without an issue... and if I use

template.sendBodyAndHeaders("activemq:myQueue", "this is my message",
headers);

it works just fine,

so activeMQ is working, the web services and other components are working, I
just can't get them to play nicely together.

anyone have any ideas?


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

Reply via email to