首先,已经安装有rabbitmq 3.8.17
1、下载插件
地址:https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/tags
2、将下载的插件上传到容器中:/plugins
docker cp rabbitmq_delayed_message_exchange-3.8.17.8f537ac.ez rabbitmq:/plugins
3、进入容器查看插件是否上传成功
docker exec -it rabbitmq /bin/bash
查看插件是否存在
ls -l /plugins/rabbitmq_delayed_message_exchange*
4、启动插件
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
5、重启容器
docker restart rabbitmq
6、登录web查看
找到ExchangesTab页。点击Add a new exchange,在Type里面查看是否有x-delayed-message选项,如果存在就代表插件安装成功
标签:插件,exchange,delayed,rabbitmq,message,docker From: https://www.cnblogs.com/leihongnu/p/16851307.html