activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r462745 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaPersistenceAdapter.java
Date Wed, 11 Oct 2006 09:25:06 GMT
Author: rajdavies
Date: Wed Oct 11 02:25:05 2006
New Revision: 462745

URL: http://svn.apache.org/viewvc?view=rev&rev=462745
Log:
delete instead of clear messages for deleteAllMessagesOnStart()

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

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaPersistenceAdapter.java?view=diff&rev=462745&r1=462744&r2=462745
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaPersistenceAdapter.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadaptor/KahaPersistenceAdapter.java
Wed Oct 11 02:25:05 2006
@@ -161,7 +161,7 @@
 
     public void deleteAllMessages() throws IOException{
         if(theStore!=null){
-            theStore.clear();
+            theStore.delete();
         }
     }
 



Mime
View raw message