jeromq
jeromq copied to clipboard
WebSockets / JSMQ support
Is there any way to use JeroMQ with WebSockets / JSMQ ?
I know JSMQ repo states there is no JeroMQ / NetMQ support yet, but actually there is NetMQ Extension that adds WebSockets support to NetMQ
So I wonder if the same case applies also to JeroMQ.
Not yet, that needs to be ported from zeromq.
I would also take a look at https://github.com/zeromq/jszmq which is a new library that works with libzmq natively.
If you would like to try and port the WebSocket transport to jeromq and I can help and give your references to all the files that have to be ported (I added the support to libzmq and authored both JSMQ and JSZMQ).
I have started a fork that implement network services as java service provider: https://github.com/fbacchella/jeromq/tree/networkprotocolserviceprovider. For a quick explanation of service provider, one can have a look at https://www.baeldung.com/java-spi. So writing a implementation of https://github.com/fbacchella/jeromq/blob/networkprotocolserviceprovider/src/main/java/zmq/io/net/NetworkProtocolProvider.java for a WebSockets service could do the trick.