You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by pgfox <gi...@git.apache.org> on 2017/11/06 07:53:44 UTC
[GitHub] activemq-artemis issue #1643: ARTEMIS-1502 added addressMemorySize and pagin...
Github user pgfox commented on the issue:
https://github.com/apache/activemq-artemis/pull/1643
@mtaylor I changed ActiveMQServerControlImpl#listAddresses(java.lang.String, int, int) to use
``
server.getManagementService().getResources(AddressControl.class)
``
rather than call
``
server.getPostOffice().getAddresses()
``
It was easier to get the memorySize and paging info from the AddressControl.
It seems to work fine but just wondering if it is a bad idea as you avoided it initially?
thanks
Pat
---