Hi

Looks like you use this eip
http://camel.apache.org/composed-message-processor.html

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

And / or use the Camel tracer
http://camel.apache.org/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 <bhushan_bde...@yahoo.co.in> 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: 
> http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to