channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no

1、出现Error: {:plugins_not_found, [:“rabbitmq_delayed_message_exchange-3.9.0.ez“]}

或者 channel error; protocol method: #method(reply-code=404, reply-text=NOT_FOUND - no 等错误

2、原因是没有安装RabbitMQ delayed_message_exchange插件,这里没有x-delayed-message就是没安装。

channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no_第1张图片

3、最新版RabbitMQ delayed_message_exchange插件安装

地址:https://www.rabbitmq.com/community-plugins.html

channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no_第2张图片

4、下载 rabbitmq_delayed_message_exchange-3.9.0.ez 文件,复制到 plugins目录下

5、sbin  目录下执行rabbitmq-plugins enable rabbitmq_delayed_message_exchange

6、先关闭:rabbitmqctl stop 再重启:rabbitmq-server 

7、看到这里有x-delayed-message就成功

channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no_第3张图片

 

你可能感兴趣的:(rabbitmq,分布式)