RabbitMQ延迟队列插件安装
一、下载插件
下载地址:https://www.rabbitmq.com/community-plugins.html
二、把下载的插件放到指定位置
下载的文件为zip格式,将zip格式解压,插件格式为ez,将文件复制到插件目录:
- Linux
/usr/lib/rabbitmq/lib/rabbitmq_server-3.7.17/plugins
- Windows
C:Program FilesRabbitMQ Serverrabbitmq_server-3.7.17plugins
三、启动插件
- Linux
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
- Windows
rabbitmq-plugins enable rabbitmq_delayed_message_exchange