mirror of https://github.com/apache/activemq.git
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…
Reference in New Issue