You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2016/09/20 13:25:30 UTC

Re: [1/2] cxf git commit: [CXF-7060] Provide a cxf-http-provider feature to be used when in need of a provider-agnostic http transport

> On Sep 20, 2016, at 9:07 AM, gnodet@apache.org wrote:
> 
>     <feature name="cxf-http-async" version="${project.version}">
>         <feature version="${project.version}">cxf-http</feature>
> @@ -166,6 +181,9 @@
>         <bundle start-level="40">mvn:org.apache.httpcomponents/httpclient-osgi/${cxf.httpcomponents.client.version}</bundle>
>         <bundle start-level="40">mvn:org.apache.httpcomponents/httpasyncclient-osgi/${cxf.httpcomponents.asyncclient.version}</bundle>
>         <bundle start-level="40">mvn:org.apache.cxf/cxf-rt-transports-http-hc/${project.version}</bundle>
> +        <capability>
> +            cxf.http.provider;name=async
> +        </capability>
>     </feature>


The async is a client side only thing, not server side.  The others seem to be selecting the server side.  Is this setting needed here?

-- 
Daniel Kulp
dkulp@apache.org <ma...@apache.org> - http://dankulp.com/blog <http://dankulp.com/blog>
Talend Community Coder - http://coders.talend.com <http://coders.talend.com/>

Re: [1/2] cxf git commit: [CXF-7060] Provide a cxf-http-provider feature to be used when in need of a provider-agnostic http transport

Posted by Guillaume Nodet <gn...@apache.org>.
Good catch, I pick the wrong one.
I think I need to move that capability to the web socket server transport
instead which actually provides a HttpDestinationFactory.

2016-09-20 15:25 GMT+02:00 Daniel Kulp <dk...@apache.org>:

>
> On Sep 20, 2016, at 9:07 AM, gnodet@apache.org wrote:
>
>     <feature name="cxf-http-async" version="${project.version}">
>         <feature version="${project.version}">cxf-http</feature>
> @@ -166,6 +181,9 @@
>         <bundle start-level="40">mvn:org.apache.httpcomponents/
> httpclient-osgi/${cxf.httpcomponents.client.version}</bundle>
>         <bundle start-level="40">mvn:org.apache.httpcomponents/
> httpasyncclient-osgi/${cxf.httpcomponents.asyncclient.version}</bundle>
>         <bundle start-level="40">mvn:org.apache.cxf/cxf-rt-transports-
> http-hc/${project.version}</bundle>
> +        <capability>
> +            cxf.http.provider;name=async
> +        </capability>
>     </feature>
>
>
>
> The async is a client side only thing, not server side.  The others seem
> to be selecting the server side.  Is this setting needed here?
>
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
>
>


-- 
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/