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

原文链接: http://www.cnblogs.com/commissar-Xia/p/11196026.html

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

ShutdownSignalException: connection error; protocol method: #method(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

RabbitMQ启动报unknown exchange type 'x-delayed-message'_第1张图片

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

 RabbitMQ启动报unknown exchange type 'x-delayed-message'_第2张图片

然后开启插件服务:

rabbitmq-plugins enable rabbitmq_delayed_message_exchange

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

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

转载于:https://www.cnblogs.com/commissar-Xia/p/11196026.html

你可能感兴趣的:(RabbitMQ启动报unknown exchange type 'x-delayed-message')