【异常】SpringBoot整合RabbitMQ-发送消息报错

错误信息

reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-message-ttl' for queue 'hello-queue' in vhost '/lq': received none but current is the value '10000' of type 'signedint', class-id=50, method-id=10

错误原因

hello-queue这个队列已经被创建,设置了相应的属性;后面如果在进行相关属性的更改,发送消息时就会报错

解决方案

删除原有的队列

相关推荐
timeDifference₇11 分钟前
Python Vibe Coding实操实验报告
开发语言·jvm·python
geovindu1 小时前
python:DecisionTree
开发语言·后端·python·算法
Cosolar1 小时前
从 Java 21 升到 25、Spring Boot 3 升 4:一次可复现的迁移踩坑实录
java·后端·面试
geovindu3 小时前
python: Decision Tree Regressor
开发语言·后端·python·算法·决策树
码事漫谈3 小时前
黄仁勋的来时路
后端
IT空门:门主3 小时前
LangChain4j 1.24.0 深度解读:新特性、版本对比与学习路线
java·学习
bai2733 小时前
path.join('C:\a', '\b') 给我 C:\a\b,path.resolve 给 C:\b:Windows 上 51 行路径实测
javascript·后端
hackhase3 小时前
Django 多表数据整合:7 张异构表如何收敛成 4 类页面
后端·mysql
用户3721574261355 小时前
Java 批量操作 Excel 超链接:添加、读取、修改和删除
java
Cosolar5 小时前
需求做完了,经验归零了:Agent 真正缺的是第二条闭环
人工智能·后端·agent