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

Reply via email to