首页 > 编程语言 > 详细

spring boot 集成RabbitMQ的异常

时间:2018-05-01 14:33:42      阅读:4540      评论:0      收藏:0      [点我收藏+]

 com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=404, reply-text=NOT_FOUND - no queue ‘hello1‘ in vhost ‘/‘, class-id=50, method-id=10

需要新建消息队列,并且要保证每个消息队列的key(下面的hello)是存在的。

@RabbitListener(queues = "hello")

spring boot 集成RabbitMQ的异常

原文:https://www.cnblogs.com/Whynot1/p/8976115.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!