RabbitMQ异常注意 reply-code=404, reply-text=NOT_FOUND - no exchange 'topic' in vhost '/', class-id=50

1、问题排查:

第一次,一定要先启动Provider再启动Consumer!!!

rabbitmq为初始状态没有队列信息,然后我又没有启动consumer,所以导致provider找不到queue和exchange。 导致

(reply-code=404, reply-text=NOT_FOUND - no exchange ‘topic002‘ in vhost ‘/‘, class-id=50, method-id=

 

2、解决方案:

1、先启动consumer即可,第二次等rabbitmq里面缓存了queue和exchange等信息就可以先启动provider;

  参考地址:https://cloud.tencent.com/developer/article/1648175

2、在操作界面手动创建queue和exchange等信息;

  http://192.168.133.200:15672/#/

  参考地址:https://blog.csdn.net/zheng911209/article/details/49949303

RabbitMQ异常注意 reply-code=404, reply-text=NOT_FOUND - no exchange 'topic' in vhost '/', class-id=50

上一篇:1 常用的Pandas函数


下一篇:DNS安装配置之unbound