<div dir="ltr">hmmm deleted the exchange and reran the app and all is well. <div><br></div><div><br></div><div><br></div><div>and there you have it,...</div><div><br></div><div><br></div><div><br><br>On Tuesday, 17 December 2013 17:01:18 UTC-5, Roatin Marth  wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">g'day folks,<div><br></div><div>just been rummaging through the rabbit mq tutorials and got myself stuck in a slight rut.</div><div><br></div><div>i'm perusing the pub/sub example in python on windows. </div><div>i've declared an exchange, and having run the script, I can see it's been created through the management console,</div><div>but I keep getting an exception as soon as I run either the producer or the consumer app.</div><div><br></div><div>if I comment out the exchange_declare line, all is well.</div><div><br></div><div>the logger says I cannot redeclare an exchange with a different type.</div><div>in the management window I can see it is of type fanout. the code is declaring it as fanout.</div><div>I was under the impression exchange_declare was idempotent. is this correct?</div></div></blockquote></div></div>