[jboss-user] [jBPM] - Re: jbpm5 parallel processing of tasks

Esteban Aliverti do-not-reply at jboss.com
Thu Jun 16 13:46:23 EDT 2011


Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: jbpm5 parallel processing of tasks"

To view the discussion, visit: http://community.jboss.org/message/610656#610656

--------------------------------------------------------------
As you realized, startProcess() (and all the api's methods) are synchronous. This is not actually a problem for long running processes because of the persistence mechanism implemented by jbpm5
For multiple processes running at the same time you will need to execute startProcess() in different threads. 
JBPM5 doesn't support real parallel (multi-threaded) flow execution. So, every time you use a diverge gateway or a multiple-instance node, flows will be executed one at a time.
Maybe you can share your requisites with us so we can help you in find the best way to fulfill them.   
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/610656#610656]

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/20110616/ecd83752/attachment.html 


More information about the jboss-user mailing list