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