【问题标题】:EhCache 3 with Atomikos Transaction Manager带有 Atomikos 事务管理器的 EhCache 3
【发布时间】: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 吗??

【问题讨论】:

    标签: atomikos ehcache-3


    【解决方案1】:

    遗憾的是,在 Ehcache 3 中支持 Atomikos TM 需要编写一些胶水代码,而这还没有完成。您可以提交增强请求,或者更好的是:帮助我们添加该支持。所需内容记录在https://www.ehcache.org/documentation/3.8/xa.html#configuring-your-transaction-manager

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-11
      • 2022-09-27
      • 1970-01-01
      • 2013-11-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多