Hi ,
May be you could try to use the camel multicast pattern in Camel 1.3
You can find more information for this JIRA[1]
Here is an example for how to use it [2].
[1]https://issues.apache.org/activemq/browse/CAMEL-389
[2]https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/MultiCastAggregatorTest.java
Willem
sachin2008 wrote:
Hi,
How to make parallel calls to different data sources at the same time with
In-out MEP. We cannot use the Splitter - aggregator pattern because they are
In-only MEP. The use case for our scenario is:
i/. We gave to make parallel calls to 3 webservices at the same time.
ii/. Responses from each webservice will be an XML.
iii/. Merge the responses from these webservices.
<--> Webservice 1
XML Data <--> Webservice 2
(Combination of
XMLS from
Webservice 1, 2 and 3)
<--> Webservice 3
We have successfully done a poc on handling parallel asynchronous calls but
the problem using asynchronous calls : we can't say when we are going to get
back the response .
Can you please tell us the solution for handling parallel synchronous calls
in bean.
-----
Cheers
Praveen Oruganti
"Think before you act and act on what you believe"