mirror of
https://github.com/apache/activemq.git
synced 2025-02-15 14:36:59 +00:00
delete instead of clear messages for deleteAllMessagesOnStart()
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@462745 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9fc2fd6af6
commit
daa3c005c5
@ -161,7 +161,7 @@ public class KahaPersistenceAdapter implements PersistenceAdapter{
|
||||
|
||||
public void deleteAllMessages() throws IOException{
|
||||
if(theStore!=null){
|
||||
theStore.clear();
|
||||
theStore.delete();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user