【发布时间】:2018-12-28 17:10:57
【问题描述】:
现在,我正在使用 EhCache 2 和 Atomkios 作为 JTA 提供程序。我可以如下配置事务管理器。
FactoryConfiguration config = new FactoryConfiguration();
config.setProperties("jndi=java:comp/UserTransaction");
config.setPropertySeparator("=");
config.setClass("net.sf.ehcache.transaction.manager.DefaultTransactionManagerLookup");
ehCacheConfig.transactionManagerLookup(config);
现在,我计划迁移到 EHCache 3,但是我发现 Bitronix 仅支持 JTA 作为开箱即用。 http://www.ehcache.org/documentation/3.0/xa.html
谁能帮忙配置 Atomikos 和 EhCache 3 吗??
【问题讨论】: