camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From begorrah <begor...@gmail.com>
Subject Request reply route is returning the request
Date Sun, 05 Apr 2015 16:04:30 GMT
Hi,
I'm having some problems with my first ever Camel route.
First, some versions. I'm using Camel version 2.15.0 in a Spring Boot +
Groovy application and I'm currently running on OSX with a 1.8 JVM.

The route is defined as follows:


Most of the route is working correctly:
 - the route gets started properly
 - the splitting works fine
 - the JMS queue works fine - I see the messages being handled and responded
to correctly in the JMS consumer (implemented in a different process)
 - the aggregation seems to work fine also

I'm invoking the route as follows:


The problem is that the value returned from  is the original request message
instead of the aggregated response.

If I add enhance the end of the route with a call to one of my own beans as
follows:

then I can see in the implementation of processBotReplies (which has this
signature:  that the list being passed in really is the correct response.

But why is the return value from  not also the response?

Any help, thoughts, advice, etc appreciated.

Cheers,
/BG




--
View this message in context: http://camel.465427.n5.nabble.com/Request-reply-route-is-returning-the-request-tp5765345.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message