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
------------------------------------------