[rabbitmq-discuss] cannot redeclare exchange with different type

Roatin Marth roatin.marth at gmail.com
Tue Dec 17 22:05:48 GMT 2013


hmmm deleted the exchange and reran the app and all is well. 



and there you have it,...




On Tuesday, 17 December 2013 17:01:18 UTC-5, Roatin Marth wrote:
>
> g'day folks,
>
> just been rummaging through the rabbit mq tutorials and got myself stuck 
> in a slight rut.
>
> i'm perusing the pub/sub example in python on windows. 
> i've declared an exchange, and having run the script, I can see it's been 
> created through the management console,
> but I keep getting an exception as soon as I run either the producer or 
> the consumer app.
>
> if I comment out the exchange_declare line, all is well.
>
> 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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131217/b5b1ff28/attachment.html>


More information about the rabbitmq-discuss mailing list