You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2018/01/19 22:24:00 UTC
[GitHub] andymc12 opened a new pull request #368: Ensure that the JAX-RS CompletionStage uses the correct ExecutorService
andymc12 opened a new pull request #368: Ensure that the JAX-RS CompletionStage uses the correct ExecutorService
URL: https://github.com/apache/cxf/pull/368
Clients can specify an ExecutorService via the property() method, but
currently, that ES is only used for the initial rx() method. When the
returned CompletionStage is invoked with a *Async() method, the
CompletionStage uses the ForkJoinPool.commonPool since that is the
default executor for CompletableFuture. Instead, it ought to use the
same executor specified in the client properties as the default - keep
in mind that users can override the default by specifying a different
executor.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services