activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r517264 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Date Mon, 12 Mar 2007 15:49:58 GMT
Author: rajdavies
Date: Mon Mar 12 08:49:58 2007
New Revision: 517264

URL: http://svn.apache.org/viewvc?view=rev&rev=517264
Log:
increment reference count on send

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?view=diff&rev=517264&r1=517263&r2=517264
==============================================================================
--- 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
Mon Mar 12 08:49:58 2007
@@ -431,6 +431,7 @@
         if(store!=null&&message.isPersistent()){
             store.addMessage(context,message);
         }
+        message.incrementReferenceCount();
         if(context.isInTransaction()){
             context.getTransaction().addSynchronization(new Synchronization(){
 



Mime
View raw message