mirror of https://github.com/apache/activemq.git
allow embedded broker with kahaDB to exit without stop - make writer threads Daemon
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@814649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8ed1589312
commit
039a15fc13
|
@ -245,6 +245,7 @@ public class MessageDatabase {
|
|||
}
|
||||
}
|
||||
};
|
||||
checkpointThread.setDaemon(true);
|
||||
checkpointThread.start();
|
||||
recover();
|
||||
}
|
||||
|
|
|
@ -1109,6 +1109,7 @@ public class PageFile {
|
|||
}
|
||||
};
|
||||
writerThread.setPriority(Thread.MAX_PRIORITY);
|
||||
writerThread.setDaemon(true);
|
||||
writerThread.start();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue