[jboss-user] [jBPM] - Re: How to Support/Enable Multi-threading in 5.1?
Kris Verlaenen
do-not-reply at jboss.com
Mon Jun 27 12:22:39 EDT 2011
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: How to Support/Enable Multi-threading in 5.1?"
To view the discussion, visit: http://community.jboss.org/message/612172#612172
--------------------------------------------------------------
I just updated the documentation with a section about multi-threading. Internally, the engine is using only one thread to execute a process instance but you can achieve logical parallelism by using asynchronous tasks:
http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e1808 http://docs.jboss.org/jbpm/v5.1/userguide/ch05.html#d0e1808
So in this case, make sure that your self-defined service is invoked asynchronously and you should see them being executed in parallel.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/612172#612172]
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/20110627/9bd3286a/attachment-0001.html
More information about the jboss-user
mailing list