[
https://issues.apache.org/jira/browse/CAMEL-10626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764449#comment-15764449
]
John Poth edited comment on CAMEL-10626 at 12/20/16 6:02 PM:
-------------------------------------------------------------
This PR adds support for both the asynchronous [Proxy-based
API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations]
and [WebClient
API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations].
All options supported in synchronous routes are supported. An additional
method has been added to the
[CxfRsBinding|https://github.com/apache/camel/pull/1360/commits/4c894c8da518fd6efd6a86c089a30d12df4999c6#diff-ace254e58e3086687364efa0376dc5daR109]
interface for flexibility.
Important note:
[Endpoints|https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/DefaultEndpoint.java#L81]
are asynchronous by default. The _synchronous_ Uri parameter will now have to
be explicitly set to true if synchronous producers are desired.
was (Author: jpoth):
This PR adds support for both the asynchronous [Proxy-based
API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations]
and [WebClient
API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations].
All options supported in synchronous routes are supported. An additional
method has been added to the
[CxfRsBinding|https://github.com/apache/camel/pull/1360/commits/4c894c8da518fd6efd6a86c089a30d12df4999c6#diff-ace254e58e3086687364efa0376dc5daR109]
interface for flexibility.
Important note:
[Endpoints|https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/impl/DefaultEndpoint.java#L81]
are asynchronous by default. The synchronous Uri parameter will now have to be
explicitly set to true if synchronous producers are desired.
> Add asynchronous support for CXF JAX-RS producers
> -------------------------------------------------
>
> Key: CAMEL-10626
> URL: https://issues.apache.org/jira/browse/CAMEL-10626
> Project: Camel
> Issue Type: New Feature
> Components: camel-cxf
> Reporter: John Poth
>
> See the asynchronous [Proxy-based
> API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations]
> and [WebClient
> API|http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Asynchronousproxyinvocations].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)