当前位置:首页 >> 核电技术聚变聚能设备 >> 【Rabbitmq】报错:ERROR CachingConnectionFactory Channel shutdown- channel error;,佳能单反450d

【Rabbitmq】报错:ERROR CachingConnectionFactory Channel shutdown- channel error;,佳能单反450d

cpugpu芯片开发光刻机 核电技术聚变聚能设备 1
文件名:【Rabbitmq】报错:ERROR CachingConnectionFactory Channel shutdown- channel error;,佳能单反450d 【Rabbitmq】报错:ERROR CachingConnectionFactory Channel shutdown: channel error;

报错内容

ERROR CachingConnectionFactory Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - unknown delivery tag 1, class-id=60, method-id=80)

原因 

 默认是自动ack,然后你代码又手动ack,导致ack了两次,报了错。

解决办法

 配置文件设置为手动ack

spring.rabbitmq.listener.direct.acknowledge-mode=manual

协助本站SEO优化一下,谢谢!
关键词不能为空
同类推荐
«    2025年12月    »
1234567
891011121314
15161718192021
22232425262728
293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言
文章归档
网站收藏
友情链接