MQTT over WebSockets

The Web MQTT plugin can only be enabled on dedicated plans.

RabbitMQ is a message broker that allows clients to connect over 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 "lightweight" messaging protocol. Messages are sent with very low overhead. The protocol is common in the IoT, “Internet of Things” world of connected devices. It’s designed for built-in systems, mobile phones, and other memory and bandwidth-sensitive applications.

With MQTT over WebSockets, every browser can be an 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.

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 in the official documentation: RabbitMQ Web MQTT Plugin