【异常】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这个队列已经被创建,设置了相应的属性;后面如果在进行相关属性的更改,发送消息时就会报错

解决方案

删除原有的队列

相关推荐
weixin_4407305015 小时前
函数return、参数、参数组、递归函数、高阶函数等小结
开发语言·python
苏supper15 小时前
Spring Boot多环境配置与打包运行
spring boot·后端·spring
sugarzhangnotes15 小时前
【无标题】
开发语言·人工智能·python
geovindu15 小时前
rust: Composite Pattern
开发语言·后端·设计模式·rust·组合模式
SearchMan15 小时前
还有人不知道&和&&的区别?
后端
想用offer打牌15 小时前
Personal Agent爆火 - 它到底是个什么
人工智能·后端·ai编程
IT_陈寒16 小时前
Vue的v-if和v-for混用居然是个天坑
前端·人工智能·后端
天衍四九-16 小时前
【无标题】
前端·spring boot·mysql·nginx·docker
用户13051807121516 小时前
JDBC学习DAY2:从Statement到PreparedStatement
java
蛋蛋的就会顺顺的16 小时前
hot100——矩阵
java·数据结构·算法·leetcode·力扣