M M [
http://community.jboss.org/people/gubespam] created the discussion
"Command service txn management"
To view the discussion, visit:
http://community.jboss.org/message/552223#552223
--------------------------------------------------------------
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
[
http://community.jboss.org/message/552223#552223]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]