Failed to check/redeclare auto-delete queue(s)


報錯截圖

其中原因:

Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - vhost birman not found, class-id=10, method-id=40)

vhost沒找到

於是我去檢查yml,發現我的virtual-host的值寫錯了,不是我配置的mq的virtual-host名字,改正之后就可以了。

如果檢查配置,發現都寫對了,就參考一下這個博客:https://blog.csdn.net/fly_leopard/article/details/102551246

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM