报错信息: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 ‘test_queue_ttl’ in vhost ‘/’: received ‘10000’ but current is ‘10000’, class-id=50, method-id=10)
错误原因:
加上数据类型就好了