protected void setUp() throws Exception {
File dir = new File("target/jdbm");
recursiveDelete(dir);
JdbmPersistenceAdapter persistenceAdapter = new JdbmPersistenceAdapter();
persistenceAdapter.setDirectory(dir);
broker = new BrokerContainerImpl("localhost");
broker.addConnector(new BrokerConnectorImpl(broker, "vm://localhost", new DefaultWireFormat()));
broker.setPersistenceAdapter(persistenceAdapter);
broker.start();