You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "clebert suconic (JIRA)" <ji...@apache.org> on 2017/08/31 19:10:08 UTC

[jira] [Closed] (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 ]

clebert suconic closed ARTEMIS-1313.
------------------------------------

> 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
>             Fix For: 2.3.0
>
>         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)