ERROR o.s.a.rabbit.connection.CachingConnectionFactory [lineno:1517]: - Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=406, reply-text=PRECONDITION_FAILED - inequivalent arg ‘type’ for exchange ‘topic.refresh’ in vhost ‘/’: received ‘topic’ but current is ‘direct’, class-id=40, method-id=10)
这个报错是rabbitmq里的exchange 的type报错,把它type类型从direct改成topic。(注意:默认的一般是direct)