错误信息
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这个队列已经被创建,设置了相应的属性;后面如果在进行相关属性的更改,发送消息时就会报错
解决方案
删除原有的队列