JBoss Community

Command service txn management

created by M M in jBPM - View the full discussion

In the default jbpm JTA configuration (jbpm.tx.jta.cfg.xml), the command service is set up three different ways (see below). Can someone say how jbpm which one to pick in each case? Looking at the code, it seems like jbpm should always pick the "newTxRequiredCommandService".

 

    <command-service name="txRequiredCommandService">      <skip-interceptor />      <environment-interceptor />      <retry-interceptor type="jta" />      <jta-transaction-interceptor />    </command-service>

 

    <command-service name="newTxRequiredCommandService">      <environment-interceptor policy="requiresNew" />      <retry-interceptor type="jta" />      <jta-transaction-interceptor policy="requiresNew" />    </command-service>

 

    <command-service>      <environment-interceptor />    </command-service>

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community