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:30:01 UTC

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

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

Michael Andre Pearce updated ARTEMIS-1313:
------------------------------------------
    Attachment: Screen Shot 2017-08-01 at 08.19.25.png

> 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.
>    @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)