exTransactionManager = new TransactionManagerImpl(600, new XidFactoryImpl(), null, null);
transactionContextManager = new TransactionContextManager(exTransactionManager, exTransactionManager);
txManager = (TransactionManager) new GeronimoTransactionManager(transactionContextManager);
JCAFlow jcaFlow = new JCAFlow();
jcaFlow.setTransactionContextManager(transactionContextManager);
jbi = new JBIContainer();
jbi.setFlows(new Flow[] { new SedaFlow(), jcaFlow });
jbi.setEmbedded(true);
jbi.setUseMBeanServer(false);