[rabbitmq-discuss] cannot redeclare exchange with different type

Michael Klishin mklishin at gopivotal.com
Wed Dec 18 08:45:53 GMT 2013

On 18 Dec 2013, at 02:01, Roatin Marth <roatin.marth at gmail.com> wrote:

> the logger says I cannot redeclare an exchange with a different type.
> in the management window I can see it is of type fanout. the code is declaring it as fanout.
> I was under the impression exchange_declare was idempotent. is this correct?

This is correct.

To change exchange type or attributes, you need to delete and re-declare the exchange.


Software Engineer, Pivotal/RabbitMQ

More information about the rabbitmq-discuss mailing list