Skip to main content

Plugins

https://www.rabbitmq.com/plugins.html

A list of plugins available locally

rabbitmq-plugins list

Enable/Disable the plugin

rabbitmq-plugins enable rabbitmq_management
rabbitmq-plugins disable rabbitmq_management
Different Ways to Enable Plugins

NOTE: 在版本 3.10.7 不再需要手動編輯檔案,當使用指令 enable/disable 時,系統會自動編輯這個檔案。

[root@tpeeaprmq98 ~]# rabbitmq-plugins directories -s
Plugin archives directory: /usr/lib/rabbitmq/plugins:/usr/lib/rabbitmq/lib/rabbitmq_server-3.10.7/plugins
Plugin expansion directory: /var/lib/rabbitmq/mnesia/rabbit@tpeeaprmq98-plugins-expand
Enabled plugins file: /etc/rabbitmq/enabled_plugins

Edit the file: /etc/rabbitmq/enabled_plugins

[rabbitmq_management,rabbitmq_amqp1_0,rabbitmq_mqtt].

重啟服務

systemctl stop rabbitmq-server
systemctl start rabbitmq-server