broker.stop();
broker.waitUntilStopped();
// 3. start AMQJournalReaderTool and read the journal
LOG.info("Starting journal audit.");
AMQJournalTool consumerTool = new AMQJournalTool();
consumerTool.getDirs().add(new File(DATA_DIR + "Broker1/journal/"));
consumerTool.execute();
LOG.info("journal audit finished.");
// 4. verify cacheSize of VelocityContext internal introspectionCache
int cacheSize = getVelocityIntrospectionCacheSize(consumerTool);
LOG.info("VelocityContext introspectionCacheSize is of size " + cacheSize);