activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r585109 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java
Date Tue, 16 Oct 2007 10:53:53 GMT
Author: rajdavies
Date: Tue Oct 16 03:53:51 2007
New Revision: 585109

URL: http://svn.apache.org/viewvc?rev=585109&view=rev
Log:
no need to call force() on commit as the reference store gets rebuilt on failure

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java?rev=585109&r1=585108&r2=585109&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaReferenceStoreAdapter.java
Tue Oct 16 03:53:51 2007
@@ -26,6 +26,7 @@
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.concurrent.atomic.AtomicLong;
 
+import org.apache.activemq.broker.ConnectionContext;
 import org.apache.activemq.command.ActiveMQDestination;
 import org.apache.activemq.command.ActiveMQQueue;
 import org.apache.activemq.command.ActiveMQTopic;
@@ -113,6 +114,11 @@
             this.stateMap = null;
         }
         super.stop();
+    }
+    
+    public void commitTransaction(ConnectionContext context) throws IOException {
+        //we don;t need to force on a commit - as the reference store
+        //is rebuilt on a non clean shutdown
     }
 
     public boolean isStoreValid() {



Mime
View raw message