最近在搞rabbitmq,把解决问题方法记下问题1:PRECONDITION_FAILED - inequivalent arg 'type' for exchange 'exchange' in vhost '/': received 'direct问题2:如下图原因:一旦创建了exchange, RabbitMQ是不允许对其改变的,不然会报错解决方法:在web上Exchanges模块把之前的exchange删除。