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

Sergey Beryozkin commented on CXF-7141:
---------------------------------------

Hi Benson

That is fine, but as I said this property is there to make sure that even when 
HTTP Service is available it is still not used to set up a default CXF 
HTTP/OSGI transport (to support the alternative options for setting up CXF 
servlets or endpoint set ups).

Do you think it is still needed to do a dynamic import for the HTTP service ? 

> cxf-rt-transports-http incorrectly requires org.osgi.http.service
> -----------------------------------------------------------------
>
>                 Key: CXF-7141
>                 URL: https://issues.apache.org/jira/browse/CXF-7141
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>            Reporter: Benson Margulies
>
> org.apache.cxf.transport.http.osgi.HTTPTransportActivator optionally touches 
> the HTTP service, but imports org.osgi.service.http unconditionally. I think 
> it should be a dynamic import, and DISABLE_DEFAULT_HTTP_TRANSPORT should be 
> replaced by reacting to the presence or absence of the service.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to