信道错误;协议方法:#方法(应答-代码=406,回复-文本=前提_FAILED不等效arg‘x-死信-交换’vhost‘ecp-ecpauditchannel.ecpqueue’:收到'DLX‘类型’DLX‘的’DLX‘类型,但当前为空,类id=50,方法-id=10)。
以下是在属性文件中设置的配置。
spring.rabbitmq.virtual-host=ecp-audit
spring.cloud.stream.bindings.ecpinputchannel.destination=ecpchannel
spring.cloud.stream.bindings.error.destination=ecpError
spring.cloud.stream.rabbit.bindings.ecpauditinputchannel.consumer.auto-bind-dlq=true
spring.cloud.stream.rabbit.bindings.input.consumer.dlq-ttl=5000提前感谢
发布于 2020-04-27 16:23:40
不等价的arg‘x死信交换’vhost‘ecp-ecpauditchannel.ecpqueue’:接收'longstr‘类型的'DLX’值,但当前为空,类id=50,方法id=10)。
一旦创建了队列,就不能更改队列参数。
,但现在是零,
当前队列上没有x-dead-letter-exchange参数。
auto-bind-dlq=true
导致设置此参数。
您必须删除队列以设置不同的参数。
https://stackoverflow.com/questions/61463352
复制相似问题