Re: using camel to call multiple web services asynchronously

2011-12-09 Thread bvahdat
Hi fachhoch, the example Willem mentioned is good matching case you could consider to walk through. However in that example there's no asynchronous invocation of the banks (which's apparently what you want to have) as multicast() invokes the endpoints one after the other, so that in your case you

Re: using camel to call multiple web services asynchronously

2011-12-09 Thread Willem Jiang
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

Re: using camel to call multiple web services asynchronously

2011-12-09 Thread Freeman Fang
Or for using cxf, you can also use JAX-WS asynchronous invocation model directly, which allows the client thread to continue after making a two-way invocation without being blocked while awaiting a response from the server, you can check jaxws_async example shipped with cxf kit to get more det

Re: using camel to call multiple web services asynchronously

2011-12-08 Thread Claus Ibsen
On Thu, Dec 8, 2011 at 4: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, m

Re: using camel to call multiple web services asynchronously

2011-12-08 Thread boday
sure, take a look at this EIP...http://camel.apache.org/scatter-gather.html 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 t