camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: not getting combined response from aggregator
Date Wed, 24 Apr 2013 08:39:15 GMT

Looks like you use this eip

I suggest to double check your custom aggregation strategy what
happens. You can debug / log / print out or whatever, to see what

And / or use the Camel tracer

And if you can, then you can show us your code for that aggregator as
its most likely in there some issue is.

On Tue, Apr 23, 2013 at 3:14 PM, bhushand <> wrote:
> Hello All
>       I am trying to use splitter. I am using splitter first time. Following
> is my route
> <route>
> <from uri="direct:start"></from>
>      <split strategyRef="MyAggregationStrategy" parallelProcessing="true">
>          <method bean="myBean" method="splitMessage"/>
>          <to uri="bean:myService?method=service1/>
>          <to uri="bean:myService?method=service2/>
>     </split>
> </route>
> Now as per Camel doc, splitMessage() will help me to split incoming message
> and will return a collection of splitted messages. As parallel processing is
> enabled, service1() and service2() will be executed simultaneously.
> MyAggregationStrategy will help me to aggregate the result from service1()
> and service2().
> In MyAggregationStrategy, I am trying to combine the result from service1()
> and service2().
> But when I am done with splitter and returning back, it is not giving me
> combined result.
> Please help me how to get combined result of MyAggregationStrategy in caller
> method.
> Thanks
> Bhushan
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message