Author: chirino
Date: Thu Apr 11 17:18:11 2013
New Revision: 1466980

URL: http://svn.apache.org/r1466980
Log:
Make sure we release the UoW for messages that expired before they were 
enqueued.  This was causing the pending_store counter on the store to grow.

Modified:
    
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala

Modified: 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
URL: 
http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala?rev=1466980&r1=1466979&r2=1466980&view=diff
==============================================================================
--- 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
 (original)
+++ 
activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Queue.scala
 Thu Apr 11 17:18:11 2013
@@ -692,7 +692,7 @@ class Queue(val router: LocalRouter, val
           }
           if( delivery.persistent && tune_persistent ) {
             assert(delivery.uow!=null)
-            delivery.uow.release
+            delivery.uow.release()
           }
           return true
         }


Reply via email to