On 11/05/12 04:05, Willem Jiang wrote:
As CXF doesn't provides the async invocation client for JAXRS, current
camel-cxfrs doesn't have async producer support.

Indeed. Will be coming later on after JAX-RS 2.0 is out, still some time away though, so if it were critical to offer such a support on the client side then of course we'd provide it earlier...

Sergey


The document is updated.

On 5/10/12 10:46 PM, Claus Ibsen wrote:
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





Reply via email to