public class KahaQueueTest extends SimpleQueueTest {
final static String config = "org/apache/activemq/perf/kahadbBroker.xml";
protected BrokerService createBroker(String uri) throws Exception {
Resource resource = new ClassPathResource(config);
BrokerFactoryBean brokerFactory = new BrokerFactoryBean(resource);
resource = new ClassPathResource(config);
brokerFactory = new BrokerFactoryBean(resource);
brokerFactory.afterPropertiesSet();
return brokerFactory.getBroker();
}