[hornetq-commits] JBoss hornetq SVN: r9889 - branches/Branch_New_Paging/src/main/org/hornetq/core/server/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 15 13:32:03 EST 2010


Author: clebert.suconic at jboss.com
Date: 2010-11-15 13:32:03 -0500 (Mon, 15 Nov 2010)
New Revision: 9889

Modified:
   branches/Branch_New_Paging/src/main/org/hornetq/core/server/impl/QueueImpl.java
Log:
fixing tests

Modified: branches/Branch_New_Paging/src/main/org/hornetq/core/server/impl/QueueImpl.java
===================================================================
--- branches/Branch_New_Paging/src/main/org/hornetq/core/server/impl/QueueImpl.java	2010-11-15 18:22:27 UTC (rev 9888)
+++ branches/Branch_New_Paging/src/main/org/hornetq/core/server/impl/QueueImpl.java	2010-11-15 18:32:03 UTC (rev 9889)
@@ -1316,7 +1316,8 @@
    {
       ServerMessage message = reference.getMessage();
 
-      if (message.isDurable() && durable)
+      // TODO: DeliveryCount on paging
+      if (message.isDurable() && durable && !reference.isPaged())
       {
          storageManager.updateDeliveryCount(reference);
       }



More information about the hornetq-commits mailing list