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

ASF subversion and git services commented on AMQ-9548:
------------------------------------------------------

Commit 273d8fba9fa827c4f87a7737edeb24eb7babd337 in activemq's branch 
refs/heads/main from Ken Liao
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=273d8fba9f ]

[AMQ-9548] Add BrokerView attributes to retrieve number of total, managed, and 
temporary queues and topics (#1288)

* Add attributes to display total number of queues and topics

* Addressed comments and add metrics for temporary queues and topics

* Use assertEquals and make the test more accurate

* renamed NonSuppreseed to Managed

* fixed logic for counting ManagedTopic and ManagedQueue

> Add new broker mbean attributes to directly retrieve total number of queues 
> and topics
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-9548
>                 URL: https://issues.apache.org/jira/browse/AMQ-9548
>             Project: ActiveMQ Classic
>          Issue Type: Improvement
>          Components: JMX
>    Affects Versions: 5.18.5, 6.1.2
>            Reporter: Ken Liao
>            Assignee: Ken Liao
>            Priority: Major
>             Fix For: 6.2.0
>
>          Time Spent: 11h
>  Remaining Estimate: 0h
>
> Right now, to monitor the number of destination, the only way is to read the 
> destinations MBean and get the total destination. However, this means reading 
> all destination names into memory, if the user has 10K+ destination with long 
> destination name, it will be a large amount of memory just to monitor the 
> number of them. 
> The proposal here is to add either a new MBean value or a method to obtain 
> that data. We can also add a method to retrieve the first K destination as 
> well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to