[jboss-user] [jBPM] - Command service txn management

M M do-not-reply at jboss.com
Mon Jul 12 17:54:25 EDT 2010


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&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100712/110b6bb9/attachment.html 


More information about the jboss-user mailing list