[jboss-user] [JBoss jBPM] - Strategies on concurrent execution of FORK-JOIN execution pa

ckadam do-not-reply at jboss.com
Mon Apr 27 09:31:51 EDT 2009

Hi All,

I am using jbpm version 3.2.6.sp1.  (recently upgraded from 3.1.4).  One of the business scenarios I am trying to support is, to be able to run multiple branches in FORK-JOIN execution paths concurrently.  I have searched this user forum as well as wiki for possible ways of implementing this scenario. 

Here is my understanding, and I was hoping to validate it from some of you, who may have implemented something similar:

1. Use of ASYNC=true on node, which will queue execution of Node-Actions using JMS.  Default fork handler will create child tokens for each possible transition in the fork definition and will be able to signal them right away (since each child token signal call would return right away after queuing the action).

2. I could write custom fork handler Or some client process executor, which creates child token for each transition and submits token.signal()  calls in separate threads. (i.e. client would manage the threads for each execution paths).  However, I am afraid, I might run into some hibernate concurrency issues (when updating process instance).

Does anyone have better suggestions ? or experience with such implementations. Any pointers / suggestions are very much appreciated.

Thanks !

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227045#4227045

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227045

More information about the jboss-user mailing list