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

Andriy Redko edited comment on CXF-7658 at 3/25/18 11:39 PM:
-------------------------------------------------------------

The documentation section has been updated to include OSGi: 
[https://cwiki.apache.org/confluence/display/CXF20DOC/SSE 
|https://cwiki.apache.org/confluence/display/CXF20DOC/SSE](to be published 
under [http://cxf.apache.org/docs/sse.html] upon release).


was (Author: reta):
The documentation section has been updated to include OSGi: 
https://cwiki.apache.org/confluence/display/CXF20DOC/SSE

> SSE destinations unreachable deployed in OSGi
> ---------------------------------------------
>
>                 Key: CXF-7658
>                 URL: https://issues.apache.org/jira/browse/CXF-7658
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, OSGi, Transports
>    Affects Versions: 3.2.1
>         Environment: Karaf
> features:  cxf, http
> bundles:
> mvn:org.atmosphere/atmosphere-runtime
> mvn:org.apache.cxf/cxf-rt-rs-sse
>  
> SSE services (jaxrs) and bus managed through blueprint
>            Reporter: Lukasz Wysocki
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.2.5
>
>
> Destinations registered for SSE services are unreachable when used in OSGi 
> (Karaf, blueprint).
> The problem seems to be that SseHttpTransportFactory creates it's own private 
> DestinationRegistry where it registers it's destinations.
> While at the same time handling of incoming requests queries an instance of 
> DestinationRegistry created in HTTPTransportActivator (bundle activator of 
> http transport).
>  
> NOTE:
> The same failure mode in websocket transport is averted by a workaround in 
> WebSocketDestinationFactory 
> [HERE|https://github.com/apache/cxf/blob/958bb235fd67e2dd3989d56e55b1ff61e68fc926/rt/transports/websocket/src/main/java/org/apache/cxf/transport/websocket/WebSocketDestinationFactory.java#L122]
>  starting with:
> // REVISIT other way of getting the registry of http so that the plain cxf 
> servlet finds the
> // destination?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to