8. 延时插件安装

一灰灰blog开源RabbitMQRabbitMQ约 178 字小于 1 分钟

源码: https://github.com/rabbitmq/rabbitmq-delayed-message-exchangeopen in new window

下载二进制的插件,如3.8.0下载地址: https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/tag/v3.8.0open in new window

将下载的ez包,放在插件目录下,一般centos的查检目录放在/usr/lib/rabbitmq/lib/rabbitmq_server-xxx/plugins

如果不知道具体在什么地方,可以通过进程查看

拷贝完毕之后,启用插件

rabbitmq-plugins enable rabbitmq_delayed_message_exchange

接着重启一下rabbit

service rabbit-server restart

再控制台中,查看是否安装成功

Loading...