activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r729942 - /activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java
Date Mon, 29 Dec 2008 16:50:53 GMT
Author: rajdavies
Date: Mon Dec 29 08:50:53 2008
New Revision: 729942

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

Modified:
    activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java

Modified: activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java?rev=729942&r1=729941&r2=729942&view=diff
==============================================================================
--- activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java (original)
+++ activemq/trunk/kahadb/src/main/java/org/apache/kahadb/store/KahaDBStore.java Mon Dec 29
08:50:53 2008
@@ -40,6 +40,7 @@
 import org.apache.activemq.command.XATransactionId;
 import org.apache.activemq.openwire.OpenWireFormat;
 import org.apache.activemq.protobuf.Buffer;
+import org.apache.activemq.store.AbstractMessageStore;
 import org.apache.activemq.store.MessageRecoveryListener;
 import org.apache.activemq.store.MessageStore;
 import org.apache.activemq.store.PersistenceAdapter;
@@ -118,12 +119,11 @@
         };
     }
 
-    public class KahaDBMessageStore implements MessageStore {
-        private final ActiveMQDestination destination;
+    public class KahaDBMessageStore extends AbstractMessageStore {
         protected KahaDestination dest;
 
         public KahaDBMessageStore(ActiveMQDestination destination) {
-            this.destination = destination;
+            super(destination);
             this.dest = convert( destination );
         }
 



Mime
View raw message