received the value 'exchange_dlx' of type 'longstr' but current is none,


 

錯誤: received the value 'exchange_dlx' of type 'longstr' but current is none,

原因:queue已經存在,但是啟動時試圖設定一個 x-dead-letter-exchange 參數,這和服務器上的定義不一樣,server 不允許所以報錯。

解決方案:刪除 queue 重新 declare 則不會有問題。


免責聲明!

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



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