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

André Freyssinet commented on FELIX-6851:
-----------------------------------------

Thanks for the examples, Paul. I should have searched more carefully :-(.

The proposed code allows us to consider a different implementation :-).

However, we would like to implement a WebSocket server (MQTT) and therefore use 
a port (9001) different from the ones used by the existing connectors 
(HTTP/HTTPS).

I have a look at the code and thought about how to implement what we need. 
Unfortunately, I couldn't find a clean way to implement it.

Thanks for your help.

> Adding a connector to the HTTP service
> --------------------------------------
>
>                 Key: FELIX-6851
>                 URL: https://issues.apache.org/jira/browse/FELIX-6851
>             Project: Felix
>          Issue Type: New Feature
>          Components: HTTP Service
>            Reporter: André Freyssinet
>            Priority: Major
>
> We are using Felix and the Felix-http bundle (5.2.0) with various servlets 
> and Jolokia. We also want to set up a WebSocket server; currently, we are 
> forced to create a new `Server` instance to add the corresponding connector. 
> This approach consumes significant resources, particularly by requiring a 
> separate thread pool.
> Would it be possible to expose the `http-jetty` `Server` object as an OSGi 
> service so that we can add our connector to the existing server?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to