camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhushand <bhushan_bde...@yahoo.co.in>
Subject Re: not getting combined response from aggregator
Date Wed, 24 Apr 2013 12:20:35 GMT
Hi Claus Ibsen/Christian 
            Thanks for the response. Claus Ibsen, you are right I am trying
to implement something similar. Now I am not sure if there is a problem with
aggregator or not. Before returning from aggregator I am checking exchange
which is to be returned. It contains exact same response as per my
requirement. But I am not getting anything when I returned to my caller
bean.

            Following is my aggregator implementation
i) aggregate method contains exchange1 and exchange2 as input parameter.
First time exchange1 will be null and second time both will contain response
ii) when both exchange are not null then by using getIn().getBody() , I am
processing the body of message. 
iii) Here I am combining the response. Setting the combined response in
exchange2 and returning the same.
iv) This combined response I am expecting when returned to caller.
v) I have successfuly used multicast where I implemented same aggregator.
There in caller, I am getting response whatever set  in aggregator.



Thanks 
Bhushan        



--
View this message in context: http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362p5731436.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message