dataSource = (DataSource) mcf.createConnectionFactory(cm);
JdbcStoreFactory storeFactory = new JdbcStoreFactory();
storeFactory.setDataSource(dataSource);
storeFactory.setTransactional(true);
store = storeFactory.open("store");
jbi = new JBIContainer();
jbi.setFlows(new Flow[] {new SedaFlow(), new JCAFlow(jmsURL) });
jbi.setEmbedded(true);
jbi.setUseMBeanServer(false);