Updated on 2022-08-15 GMT+08:00

Enabling Plug-ins

After creating a RabbitMQ instance, you can enable the plug-ins listed in the following table. The plug-ins are disabled by default when the instance is created.

When plug-ins are enabled, the instance will not be restarted. However, enabling plug-ins rabbitmq_mqtt, rabbitmq_web_mqtt, rabbitmq_stomp, and rabbitmq_web_stomp will restart Keepalived and disconnect the instance. After the instance is disconnected, it may be automatically reconnected depending on the service logic.

Table 1 Plug-ins that can be enabled or disabled

Name

Function

Port

rabbitmq_amqp1_0

Support for AMQP 1.0

-

rabbitmq_delayed_message_exchange

Delayed messages

There may be an error of about 1%. The actual delivery time may be earlier or later than the scheduled delivery time.

-

rabbitmq_federation

Federation

-

rabbitmq_sharding

Sharding

-

rabbitmq_shovel

Message moving

-

rabbitmq_tracing

Message tracing

-

rabbitmq_mqtt

Support for MQTT over TCP

1883

rabbitmq_web_mqtt

Support for MQTT over WebSocket

15675

rabbitmq_stomp

Support for STOMP over TCP

61613

rabbitmq_web_stomp

Support for STOMP over WebSocket

15674

rabbitmq_consistent_hash_exchange

Consistent hash exchange

-

The ports of the plug-ins cannot be changed.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, click and select a region.

    Select the same region as your application service.

  3. Click and choose Application > Distributed Message Service for RabbitMQ to open the console of DMS for RabbitMQ.
  4. Click the desired instance to view its details.
  5. On the Plug-ins tab page, click Enable next to the desired plug-in.

    Confirm that you want to enable the plug-in and wait for it to be enabled successfully.