storeFactory.setDataSource(dataSource);
storeFactory.setTransactional(true);
store = storeFactory.open("store");
jbi = new JBIContainer();
jbi.setFlows(new Flow[] {new SedaFlow(), new JCAFlow(ACTIVEMQ_URL) });
jbi.setEmbedded(true);
jbi.setUseMBeanServer(false);
jbi.setCreateMBeanServer(false);
jbi.setTransactionManager(tm);
jbi.setAutoEnlistInTransaction(true);