mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
https://issues.apache.org/jira/browse/AMQ-4195 - activemq-admin bstat command predefined query isn't even run
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1414852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fa250bf1bf
commit
2a8427d7d5
@ -75,12 +75,13 @@ public class BstatCommand extends QueryCommand {
|
|||||||
queryTokens.add("--objname");
|
queryTokens.add("--objname");
|
||||||
queryTokens.add("Type=*,BrokerName=" + brokerName);
|
queryTokens.add("Type=*,BrokerName=" + brokerName);
|
||||||
queryTokens.add("-xQTopic=ActiveMQ.Advisory.*");
|
queryTokens.add("-xQTopic=ActiveMQ.Advisory.*");
|
||||||
queryTokens.add("--vuew");
|
queryTokens.add("--view");
|
||||||
queryTokens.add("Type,BrokerName,Destination,ConnectorName,EnqueueCount,"
|
queryTokens.add("Type,BrokerName,Destination,ConnectorName,EnqueueCount,"
|
||||||
+ "DequeueCount,TotalEnqueueCount,TotalDequeueCount,Messages,"
|
+ "DequeueCount,TotalEnqueueCount,TotalDequeueCount,Messages,"
|
||||||
+ "TotalMessages,ConsumerCount,TotalConsumerCount,DispatchQueueSize");
|
+ "TotalMessages,ConsumerCount,TotalConsumerCount,DispatchQueueSize");
|
||||||
|
|
||||||
// Call the query command
|
// Call the query command
|
||||||
|
super.parseOptions(queryTokens);
|
||||||
super.runTask(queryTokens);
|
super.runTask(queryTokens);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user