MQTT over WebSockets

RabbitMQ is a message broker that allows clients to connect over a range of different open and standardized protocols such as AMQP, HTTP, STOMP, MQTT, MQTT over websockets and WebSockets/Web-Stomp.

MQTT is a publish-subscribe pattern based "light weight" messaging protocol. Messages are sent with a very low overhead. The protocol is often used in the the IoT, “Internet of Things” world of connected devices. Its designed for built-in systems, mobile phones and other memory and bandwidth sensitive applications.

With MQTT over WebSockets, every browser can be a MQTT device. You have the option to send MQTT messages directly from a browser of a mobile phone. The Web MQTT plugin is a simple bridge exposing the MQTT protocol over HTML5 WebSockets.

The Web MQTT plugin is only enabled on dedicated plans.

When connecting to CloudAMQP via MQTT over WebSockets, you should use a connection URL like: wss://hostname:443/ws/mqtt

Use wss:// , the port number 443 , and the path /ws/mqtt

RabbitMQ Web MQTT supports RabbitMQ 3.6.x and later releases starting with 3.6.1. More information about the plugin can be found here: http://www.rabbitmq.com/web-mqtt.html