Rabbitmq 实践问题总结

错误收集

1. 没有对应的交换机在“/”这个虚拟机下

channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no exchange ‘wujianqinjian_rabbitmq_publish’ in vhost ‘/’, class-id=50, method-id=20)

2. 已经声明的队列,修改代码重新运行,会报错

重新运行就会报这样的错!
channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg ‘durable’ for queue ‘wujianqinjian_queue_hello’ in vhost ‘/’: received ‘true’ but current is ‘false’, class-id=50, method-id=10)

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: Age of Ai 设计师:meimeiellie 返回首页