According to that source file check_name/2 seems to be called for both cases, exchange and queue declaration. So I&#39;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">&lt;<a href="mailto:celldee@gmail.com" target="_blank">celldee@gmail.com</a>&gt;</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">&lt;<a href="mailto:celldee@gmail.com" target="_blank">celldee@gmail.com</a>&gt;</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&#39;ve tried a redeclaration, but that doesn&#39;t
            seem to work.</blockquote>
        </div>
        <br>
      </div>
      <div class="gmail_extra">You can&#39;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&#39;s what I&#39;m observing. Last question: would you
    expect to get an &#39;ACCESS_REFUSED&#39; error if you tried to declare an
    exchange with a name like &#39;amq.test&#39;. I don&#39;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>