File dataFileDir = new File("target/test-amq-data/perfTest");
File journalDir = new File(dataFileDir, "journal").getCanonicalFile();
JournalImpl journal = new JournalImpl(journalDir, 3, 1024 * 1024 * 20);
KahaPersistenceAdapter kahaAdaptor = new KahaPersistenceAdapter();
JournalPersistenceAdapter journalAdaptor = new JournalPersistenceAdapter(journal, kahaAdaptor, answer.getTaskRunnerFactory());
journalAdaptor.setMaxCheckpointWorkers(1);
answer.setPersistenceAdapter(journalAdaptor);
answer.addConnector(bindAddress);