You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Michael Andre Pearce (JIRA)" <ji...@apache.org> on 2017/08/01 07:29:00 UTC

[jira] [Created] (ARTEMIS-1313) getAddresses in PostOfficeImpl does not correctly return all addresses

Michael Andre Pearce created ARTEMIS-1313:
---------------------------------------------

             Summary: getAddresses in PostOfficeImpl does not correctly return all addresses
                 Key: ARTEMIS-1313
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1313
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Michael Andre Pearce



This is due to SimpleAddressManager only returns address's with bindings (queues attached) as such if you have an Address with no queues this does not return the address.

   @Override
   public Set<SimpleString> getAddresses() {
      Set<SimpleString> addresses = new HashSet<>();
      addresses.addAll(mappings.keySet());
      return addresses;
   }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)