RabbitMQ provides adapters for various other types of protocol in the form of RabbitMQ plugins. Such protocols include STOMP, MQTT, HTTP, Websocket, and others. Each adapter plugin follows a common usage pattern:
You can install protocol adapter plugins with the rabbitmq_plugins
utility. For example, the STOMP
plugin comes with the RabbitMQ broker installation and must be enabled with the following command:
rabbitmq-plugins.bat enable rabbitmq-stomp
In case you want to use RabbitMQ directly from the browser using Websockets, you can additionally install the rabbitmq-web-stomp
plugin, which is a bridge between a SockJS Websocket server and the rabbitmq-stomp
plugin to communicate with the broker via Websockets. There is also a separate plugin called rabbitmq-web-stomp-examples
that demonstrates the use of rabbitmq-web-stomp
using a web browser.
3.17.79.20