You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/07/10 15:35:00 UTC

[jira] [Commented] (CXF-6889) Support CompletionStage RxInvoker

    [ https://issues.apache.org/jira/browse/CXF-6889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080512#comment-16080512 ] 

Sergey Beryozkin commented on CXF-6889:
---------------------------------------

The earlier (now removed) code was probably not the best one because the outbound call was still done on the original caller thread as opposed to on ForkJoin one. The question which is still open, is simply using a ForkJoin thread to do a sync call the best option when the async transport is loaded or not. If the async transport is loaded then the fork join threads might be better reused if they may be only poll on the JAXRS Future - but we'll leave the possible optimizations till some later stage. 

> Support CompletionStage RxInvoker
> ---------------------------------
>
>                 Key: CXF-6889
>                 URL: https://issues.apache.org/jira/browse/CXF-6889
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 3.2.0
>
>
> https://github.com/jax-rs/api/blob/master/jaxrs-api/src/main/java/javax/ws/rs/client/Invocation.java#L298



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)