问题描述:
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'x-message-ttl' for queue 'xudongmaster.dlx.queue' in vhost '/': received the value '60000' of type 'long' but current is none, class-id=50, method-id=10)
问题分析:
1、修改了死信队列的x-message-ttl属性值,导致配置里面的x-message-ttl属性值和存在的死信队列的x-message-ttl属性值不一致,导致报错。
解决办法:文章来源:https://www.toymoban.com/news/detail-611458.html
去rabbitmq控制台将存在的死信队列删除,然后再重新项目。文章来源地址https://www.toymoban.com/news/detail-611458.html
到了这里,关于RabbitMQ inequivalent arg ‘x-message-ttl‘ for queue x in vhost ‘/‘:received the value x of type问题解决的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!