异常类名
Shutdown Signal: channel error; protocol method
描述
#method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - invalid arg ‘x-message-ttl’ for queue ‘deathQueue’ in vhost ‘/’: “expected integer, got longstr”, class-id=50, method-id=10)
问题原因
创建死信队列是中的过期时间需要设置java.lang.Long类型
解决方案
“@Argument(name = “x-message-ttl”,value = “60000”, type = “java.lang.Long”),”
异常重现
已复现