pma/amqp

websocket support

Closed this issue · 3 comments

Hi guys, thanks for making this awesome library.
I wonder if there is any plan to implement the websocket support?
Any hint how to start ?

any help would be appreciated?

ono commented

Hi @drselump14. Thanks for the message and kind words!

RabbitMQ doesn't support WebSocket. I would suggest to handle it in the different layer. For example, you can handle WebSocket communication in a Phoenix application and relay messages between RabbitMQ there.

I hope it helps!

It does support websocket connection by using the plugin (https://www.rabbitmq.com/web-mqtt.html).
Although, I just realized that the protocol is mqtt not amqp

ono commented

Yeah, if you want to write a library for the plug-in, I would suggest to create a new library.