activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cepo...@apache.org
Subject svn commit: r1414852 - /activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java
Date Wed, 28 Nov 2012 18:29:44 GMT
Author: ceposta
Date: Wed Nov 28 18:29:44 2012
New Revision: 1414852

URL: http://svn.apache.org/viewvc?rev=1414852&view=rev
Log:
https://issues.apache.org/jira/browse/AMQ-4195 - activemq-admin bstat command predefined query
isn't even run

Modified:
    activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java

Modified: activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java?rev=1414852&r1=1414851&r2=1414852&view=diff
==============================================================================
--- activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java
(original)
+++ activemq/trunk/activemq-console/src/main/java/org/apache/activemq/console/command/BstatCommand.java
Wed Nov 28 18:29:44 2012
@@ -75,12 +75,13 @@ public class BstatCommand extends QueryC
         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);
     }
 



Mime
View raw message