mirror of https://github.com/apache/activemq.git
set the checkpoint workers to 1
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@476265 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
411e750806
commit
f9a159723c
|
@ -37,6 +37,7 @@ public class JournalKahaQueueTest extends SimpleQueueTest{
|
|||
|
||||
KahaPersistenceAdapter kahaAdaptor = new KahaPersistenceAdapter(new File(dataFileDir, "kaha"));
|
||||
JournalPersistenceAdapter journalAdaptor = new JournalPersistenceAdapter(journal, kahaAdaptor, answer.getTaskRunnerFactory());
|
||||
journalAdaptor.setMaxCheckpointWorkers(1);
|
||||
|
||||
answer.setPersistenceAdapter(journalAdaptor);
|
||||
answer.addConnector(bindAddress);
|
||||
|
|
Loading…
Reference in New Issue