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

Dejan Bosanac edited comment on AMQ-6435 at 9/19/16 2:36 PM:
-------------------------------------------------------------

There's now two new methods on BrokerView

{code}public String queryQueues(String filter, int page, int pageSize)
public String queryTopics(String filter, int page, int pageSize){code}

along with 

{code}public CompositeData[] browseQueue(String queueName){code}

which should allow basic monitoring of the broker (over JMX or Rest) even when 
the all queue and topic mbeans have been suppressed like

{code} <managementContext>
<managementContext 
suppressMBean="endpoint=dynamicProducer,endpoint=Consumer,connectionName=*,destinationType=Queue,destinationType=Topic"/>
</managementContext>{code}

The syntax of the filter and return is described more in JavaDoc of 
https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationsViewFilter.java


was (Author: dejanb):
There's now two new methods on BrokerView

public String queryQueues(String filter, int page, int pageSize)
public String queryTopics(String filter, int page, int pageSize)

along with 

public CompositeData[] browseQueue(String queueName)

which should allow basic monitoring of the broker even when the all queue and 
topic mbeans have been suppressed like

{code} <managementContext>
<managementContext 
suppressMBean="endpoint=dynamicProducer,endpoint=Consumer,connectionName=*,destinationType=Queue,destinationType=Topic"/>
</managementContext>{code}

The syntax of the filter and return is described more in JavaDoc of 
https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationsViewFilter.java

> Implement JMX destination query API
> -----------------------------------
>
>                 Key: AMQ-6435
>                 URL: https://issues.apache.org/jira/browse/AMQ-6435
>             Project: ActiveMQ
>          Issue Type: New Feature
>    Affects Versions: 5.14.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.15.0
>
>
> In an environment when there thousands of destinations on the broker, current 
> way of exposing all MBeans and looking into them in the tools does not scale. 
> We need to implement an API that can be used by tools to filter, sort and 
> page destinations in this scenario.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to