关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 10743|回复: 0

mq使用过程报错Channel shutdown: channel error; protocol method: #method...

[复制链接]
发表于 2022-3-9 11:47:56 | 显示全部楼层 |阅读模式
本帖最后由 count 于 2022-3-9 11:50 编辑

项目中在使用mq的延迟队列时,出现如下错误,但是业务能正常运行,只是控制台会报mq的相关错误.
错误如下:
2022-03-09 11:35:57.417 [AMQP Connection 127.0.0.1:5672] ERROR o.s.a.rabbit.connection.CachingConnectionFactory:1575 - Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-exchange' for queue 'sys.erp.pos_fenzhang' in vhost '/': received none but current is the value 'dead.exchange' of type 'longstr', class-id=50, method-id=10)
2022-03-09 11:35:57.419 [https-jsse-nio-8080-exec-7] WARN  org.springframework.amqp.rabbit.core.RabbitAdmin:787 - Failed to declare queue: Queue [name=sys.erp.pos_fenzhang, durable=true, autoDelete=false, exclusive=false, arguments={}, actualName=sys.erp.pos_fenzhang], continuing... com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-dead-letter-exchange' for queue 'sys.erp.pos_fenzhang' in vhost '/': received none but current is the value 'dead.exchange' of type 'longstr', class-id=50, method-id=10)

队列和交换机配置如下
QQ截图20220309114928.png QQ截图20220309114947.png


请大佬指点迷津


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表