According to that source file check_name/2 seems to be called for both cases, exchange and queue declaration. So I'm not sure why you see such behavior.<div><br></div><div>Cheers,</div><div><br></div><div>Alvaro</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 1:04 PM, Chris Duncan <span dir="ltr"><<a href="mailto:celldee@gmail.com" target="_blank">celldee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>On 04/12/12 11:52, Alvaro Videla wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div class="gmail_extra">Hi<br>
<br>
<div class="gmail_quote">On Tue, Dec 4, 2012 at 12:48 PM, Chris
Duncan <span dir="ltr"><<a href="mailto:celldee@gmail.com" target="_blank">celldee@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">If
I delete one of the amq.* exchanges, should I be able to
re-create it? I've tried a redeclaration, but that doesn't
seem to work.</blockquote>
</div>
<br>
</div>
<div class="gmail_extra">You can't do that. See: <a href="http://hg.rabbitmq.com/rabbitmq-server/file/d5898ecfbe72/src/rabbit_channel.erl#l529" target="_blank">http://hg.rabbitmq.com/rabbitmq-server/file/d5898ecfbe72/src/rabbit_channel.erl#l529</a><br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Regards,</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Alvaro</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
rabbitmq-discuss mailing list
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
</pre>
</div></blockquote>
Thanks Alvaro, that's what I'm observing. Last question: would you
expect to get an 'ACCESS_REFUSED' error if you tried to declare an
exchange with a name like 'amq.test'. I don't get an error, but I do
if I try to declare a queue with a similar name.<br>
<br>
Cheers,<br>
<br>
Chris<br>
</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>