Re: Camel multicast configuration file
Hi Bala, > I am trying to configure camel multicasting in my project. The requirement > is to hit multiple services in parallel and consume the response. As Claus suggested you forgot to aggregate the requests. And here's how can you aggregate responses from multiple services: from("direct:serviceAggregator") .multicast(new GroupedExchangeAggregationStrategy()).parallelProcessing() .enrich("http://servicea.com";).enrich("http://serviceb.com";) .end(); Laters. -- Henryk Konsek http://henryk-konsek.blogspot.com
Re: Camel multicast configuration file
Hi See the eip docs http://camel.apache.org/multicast.html And read about the aggregation strategy. On Fri, Nov 30, 2012 at 6:36 AM, Bala wrote: > Hi Team, > > I am trying to configure camel multicasting in my project. The requirement > is to hit multiple services in parallel and consume the response. When I > tried, am getting the response in body of the second service alone. Am not > able to get the response of the first service. Please help me on this. > > I have the configuration file as below. > > > > > > > > > > > > > > > > > > > Thanks, Bala > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-multicast-configuration-file-tp5723427.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
Camel multicast configuration file
Hi Team, I am trying to configure camel multicasting in my project. The requirement is to hit multiple services in parallel and consume the response. When I tried, am getting the response in body of the second service alone. Am not able to get the response of the first service. Please help me on this. I have the configuration file as below. Thanks, Bala -- View this message in context: http://camel.465427.n5.nabble.com/Camel-multicast-configuration-file-tp5723427.html Sent from the Camel - Users mailing list archive at Nabble.com.