activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r963104 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Date Sun, 11 Jul 2010 16:33:04 GMT
Author: rajdavies
Date: Sun Jul 11 16:33:03 2010
New Revision: 963104

URL: http://svn.apache.org/viewvc?rev=963104&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-2070

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java?rev=963104&r1=963103&r2=963104&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/BrokerService.java
Sun Jul 11 16:33:03 2010
@@ -639,7 +639,7 @@ public class BrokerService implements Se
             if (entry.getKey().isQueue()) {
                 if (entry.getValue().getName().matches(queueName)) {
                     queueSize = entry.getValue().getDestinationStatistics().getMessages().getCount();
-                    count = queueSize;
+                    count += queueSize;
                     if (queueSize > 0) {
                         LOG.info("Queue has pending message:" + entry.getValue().getName()
+ " queueSize is:"
                                 + queueSize);



Mime
View raw message