我在给一个普通队列去绑定死信互换机和死信队列的时间,发现总是报错x-dead-letter-exchange的属性为none
ERROR [PFTID:] [Module:defaultModule] org.springframework.amqp.rabbit.connection.CachingConnectionFactory - Shutdown Signal: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg ‘x-dead-letter-exchange’ for queue ‘elkQueue’ in vhost ‘/’: received the value ‘dlxExchange’ of type ‘longstr’ but current is none, class-id=50, method-id=10)