activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r698719 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Date Wed, 24 Sep 2008 20:35:36 GMT
Author: chirino
Date: Wed Sep 24 13:35:36 2008
New Revision: 698719

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

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java?rev=698719&r1=698718&r2=698719&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Wed Sep 24 13:35:36 2008
@@ -292,7 +292,6 @@
                 List<QueueMessageReference> list = new ArrayList<QueueMessageReference>();
                 for (MessageReference ref : sub.remove(context, this)) {
                     QueueMessageReference qmr = (QueueMessageReference)ref;
-                    qmr.incrementRedeliveryCounter();
                     if( qmr.getLockOwner()==sub ) {
                         qmr.unlock();
                         qmr.incrementRedeliveryCounter();



Mime
View raw message