mirror of https://github.com/apache/activemq.git
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("Type=*,BrokerName=" + brokerName);
|
||||
queryTokens.add("-xQTopic=ActiveMQ.Advisory.*");
|
||||
queryTokens.add("--vuew");
|
||||
queryTokens.add("--view");
|
||||
queryTokens.add("Type,BrokerName,Destination,ConnectorName,EnqueueCount,"
|
||||
+ "DequeueCount,TotalEnqueueCount,TotalDequeueCount,Messages,"
|
||||
+ "TotalMessages,ConsumerCount,TotalConsumerCount,DispatchQueueSize");
|
||||
|
||||
// Call the query command
|
||||
super.parseOptions(queryTokens);
|
||||
super.runTask(queryTokens);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue