activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1313) getAddresses in PostOfficeImpl does not correctly return all addresses
Date Wed, 02 Aug 2017 16:51:01 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16111274#comment-16111274
] 

ASF subversion and git services commented on ARTEMIS-1313:
----------------------------------------------------------

Commit 776ec0b9fd70f91c3f99b2606a14f3d7de2284fa in activemq-artemis's branch refs/heads/master
from [~michael.andre.pearce]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=776ec0b ]

ARTEMIS-1313 getAddresses in PostOfficeImpl does not correctly return all addresses

Fix so that getAddresses uses addressInfoMap instead of the mappings so that addresses without
queues also are returned

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

Mime
View raw message