Hi

As far as JAX-RS 2.0 AsyncResponse is concerned, I don't think WorkQueue is involved at all. CXF itself definitely does not create a thread of its own when dealing @Suspended AsyncResponse methods.

Chuck, did you refer to the client side by any chance ?

Cheers, Sergey

On 09/11/16 00:59, Tadayoshi Sato wrote:
Hi,

AFAIK CXF's async impl is based on WorkQueue and it's configurable:
https://issues.apache.org/jira/browse/CXF-1734
so I don't think it has such a flaw that the number of threads grows
linearly.

Best regards,
Tadayoshi

On Wed, Nov 9, 2016 at 2:43 AM, Canning, Charles <ccann...@stubhub.com>
wrote:

Hi,

I am writing to figure out the model for the async methods for the JAX-RS
implementation. I went through the Jersey stuff and it actually consumes 2
threads per connection when in async and the lead states it is an
architectural flaw that they won’t fix. Could someone shed some details on
the design for CXF latest in this regard.

Thanks,
Chuck



Reply via email to