1.运行RabbitMq报406
Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'queue_demo' in vhost '/': received 'false' but current is 'true', class-id=50, method-id=10)
问题产生原因:因为在你的queue队列中已经存在了这个队列,而且该队列是非持久化的,这时启动rabbitmq就会报这个错误
处理办法:修改队列名称再次运行