On Thu, May 10, 2012 at 4:11 PM, Willem Jiang <willem.ji...@gmail.com> wrote: > Hi > > Current camel-cxfrs supports the async out of box. > Please check the code of CxfRsInvoker, it leverages the continuation to > invoke the async processors. >
Willem, can you update the Camel docs at http://camel.apache.org/asynchronous-routing-engine.html To include the producer for cxfrs. I am not sure which Camel version that happened. > > On 5/9/12 4:09 PM, Claus Ibsen wrote: >> >> Hi >> >> Are you using the CXF-RS producer from Camel, eg you do >> >> from file >> to cxfrs >> >> The cxfrs currently doesn't support the async routing engine by nature >> http://camel.apache.org/asynchronous-routing-engine.html >> >> And therefore it blocks while waiting for the reply message. >> Frankly it ought to be possible, but I think we need to improve the >> camel-cxfrs code to support that. >> If it did, then no threads is blocking, and the file consumer thread >> would be able to pickup the next >> file while the previous CXFRS is in progress. >> >> As mention you can use the threads EIP in Camel to force async behavior as >> well. >> >> On Wed, May 9, 2012 at 6:05 AM, Deepthi<deepthi...@gmail.com> wrote: >>> >>> Hi Yogesh, >>> >>> Thanks for ur response. >>> Yes, I am looking for a thread pool for from point as well. Appreciate >>> your >>> help >>> >>> Thanks >>> >>> -- >>> View this message in context: >>> http://camel.465427.n5.nabble.com/CXF-webservice-asyn-tp5695918p5696434.html >>> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> >> >> > > > -- > Willem > ---------------------------------- > > CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com > FuseSource > Web: http://www.fusesource.com > Blog: http://willemjiang.blogspot.com (English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/