It you take a look at the loan-broker example[1], you can see we could
send the request to multiple web services at the same time, that could
also some some time :)
[1]http://camel.apache.org/loan-broker-example.html
On 12/8/11 11:22 PM, fachhoch wrote:
I call a webservice for my application for a user action, I have spring,cxf
client , I use this client to call the webservice, now our requirement added
new webservice call , so I have to call two webservices , the old one and
the new one, my initial plan is in a method I will call each webservice,
club the result return the result, this will take more time as I have to
wait for first webservice to return result then call second webservice
, other way is to call each webservice in a thread asynchronously this way
both webservices are called at the same time , an overall time is
reduced,does camel has anything inbuilt for calling multiple webservices
asynchronously ?
--
View this message in context:
http://camel.465427.n5.nabble.com/using-camel-to-call-multiple-web-services-asynchronously-tp5059120p5059120.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang