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)

Reply via email to