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)

发布了90 篇原创文章 · 获赞 1103 · 访问量 80万+

猜你喜欢

转载自blog.csdn.net/u010569419/article/details/102178750