camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhushand <>
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

            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.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message