首页 > 代码库 > RabbitMQ inequivalent arg 'durable' for exchange 'csExchange' in vhost '/': received

RabbitMQ inequivalent arg 'durable' for exchange 'csExchange' in vhost '/': received

错误:inequivalent arg ‘durable‘ for exchange ‘csExchange‘ in vhost ‘/‘: received

使用不同的MQ客户端时,常常会出现以上错误信息。

如使用php作为product,使用java, rubby, python作为consume.

最常见的原因是: durable, auto_delete,passive参数不一致,保持参数一致性就ok了

RabbitMQ inequivalent arg 'durable' for exchange 'csExchange' in vhost '/': received