title: ActiveMQ Artemis - address auto deletion
body: <p>1) I have defined an address "myAddress" in the file broker.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;addresses&gt;
     ...
     &lt;address name="myAddress"&gt;
        &lt;multicast/&gt;
     &lt;/address&gt;
  &lt;/addresses&gt;
  </code></pre>
  
  <p>2) I also have disabled the auto-delete-addresses (which does not seem necessary as per my use case, because my address is not auto-created)</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;address-setting match="#"&gt;
     ...
     &lt;auto-delete-addresses&gt;false&lt;/auto-delete-addresses&gt;         
  &lt;/address-setting&gt;
  </code></pre>
  
  <p>As per my understanding, this address is not auto created, and this address does not get auto-deleted by Artemis, as expected.</p>
  
  <p>But, once I have one or more consumers connected to a queue matching this address, and when those consumers all leave, then the address is deleted:</p>
  
  <pre><code>INFO  [org.apache.activemq.artemis.core.server] deleting auto-created address "myAddress."
  </code></pre>
  
  <p>Why is that ? I don't understand why:</p>
  
  <ol>
  <li>this address is considered as auto-created</li>
  <li>this address is still deleted despite the auto-delete-addresses flag</li>
  </ol>