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:
Christian Posta 2012-11-28 18:29:44 +00:00
parent fa250bf1bf
commit 2a8427d7d5
1 changed files with 2 additions and 1 deletions

View File

@ -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);
}