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&...]