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:
Hiram R. Chirino 2006-11-17 19:22:39 +00:00
parent 411e750806
commit f9a159723c
1 changed files with 1 additions and 0 deletions

View File

@ -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);