RabbitMQ启动报unknown exchange type 'x-delayed-message'

RabbitMQ延迟队列插件未安装,导致以下问题:

ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=503, reply-text=COMMAND_INVALID - unknown exchange type 'x-delayed-message', class-id=40, method-id=10)

代表没有找到对应x-delayed-message的exchange type

插件下载地址:https://www.rabbitmq.com/community-plugins.html

下载下来之后将插件复制到rabbit-service的插件目录(自己的安装目录)中

 

然后开启插件服务:

rabbitmq-plugins enable rabbitmq_delayed_message_exchange

------------------------------------------

原文:https://www.jianshu.com/p/2ecad37d64ff

posted @ 2019-07-16 16:59  Commissar-Xia  阅读(5011)  评论(0编辑  收藏  举报