activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r963118 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java
Date Sun, 11 Jul 2010 17:51:52 GMT
Author: rajdavies
Date: Sun Jul 11 17:51:51 2010
New Revision: 963118

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

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java?rev=963118&r1=963117&r2=963118&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/cursors/FilePendingMessageCursor.java
Sun Jul 11 17:51:51 2010
@@ -230,7 +230,8 @@ public class FilePendingMessageCursor ex
         } else {
             discard(node);
         }
-        return false;
+        //message expired
+        return true;
     }
 
     /**



Mime
View raw message