源码: https://github.com/rabbitmq/rabbitmq-delayed-message-exchange
下载二进制的插件,如3.8.0下载地址: https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/tag/v3.8.0
将下载的ez
包,放在插件目录下,一般centos的查检目录放在/usr/lib/rabbitmq/lib/rabbitmq_server-xxx/plugins
如果不知道具体在什么地方,可以通过进程查看
拷贝完毕之后,启用插件
1 | rabbitmq-plugins enable rabbitmq_delayed_message_exchange |
接着重启一下rabbit
1 | service rabbit-server restart |