tm = (TransactionManager) gtmfb.getObject();
super.setUp();
}
protected JBIContainer createContainer(String name) throws Exception {
JBIContainer container = new JBIContainer();
container.setName(name);
JCAFlow flow = new JCAFlow();
flow.setJmsURL("tcp://localhost:61616");
flow.setTransactionContextManager(tcm);
container.setTransactionManager(tm);
container.setFlow(flow);
container.setUseMBeanServer(false);
container.setEmbedded(true);
container.init();
container.start();
return container;
}