// JDBC setup
JdbcDataSource jdbcDataSource = EmbeddedDataSourceFactory.getJdbcDataSource("sql/schema.sql");
AtomikosDataSourceBean atomikosDataSourceBean = new AtomikosDataSourceBean();
atomikosDataSourceBean.setXaDataSource(jdbcDataSource);
atomikosDataSourceBean.setUniqueResourceName("xa.h2");
registry.put("atomikos.dataSource", atomikosDataSourceBean);
// Atomikos setup
userTransactionManager = new UserTransactionManager();