The process engine transaction management can integrate with JTA. To use JTA transactionmanager integration, you need to use the

    • org.camunda.bpm.engine.impl.cfg.JtaProcessEngineConfiguration for JTA integration only
    • org.camunda.bpm.engine.cdi.CdiJtaProcessEngineConfiguration for additional CDI expressionresolving support.
    Note 1: The shared process engine distributions for Java EE Application Servers (Wildfly, JBoss, IBM WebSphere Application Server, Oracle WebLogic Application Server) provide JTAintegration out of the box.Note 2: The process engine requires access to an implementation ofjavax.transaction.TransactionManager. Not all application servers provide such animplementation. Most notably, IBM WebSphere and Oracle WebLogic historically did not provide thisimplementation. To achieve JTA transaction integration on these containers, users shoulduse the Spring Framework Abstraction and configure the process engine using theSpringProcessEngineConfiguration.

    原文: https://docs.camunda.org/manual/7.9/user-guide/cdi-java-ee-integration/jta-transaction-integration/