[ 
https://issues.apache.org/jira/browse/ARTEMIS-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Andre Pearce updated ARTEMIS-1313:
------------------------------------------
    Description: 
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.

!Screen Shot 2017-08-01 at 08.19.25.jpg|thumbnail!

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

  was:

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;
   }


> 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
>         Attachments: Screen Shot 2017-08-01 at 08.19.25.png
>
>
> 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.
> !Screen Shot 2017-08-01 at 08.19.25.jpg|thumbnail!
>    @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