Use of KieSession for executing process instances in jBPM 6 clustered environment
Issue
There is a scenario where an application which has jBPM 6 as embedded libraries in a clustered environment (i.e. application itself is deployed on a clustered set-up of BRMS installation) . In such a set-up, some queries like the following could arise regarding the use of KieSession for executing process instances.
- Could the same
KieSessionbe run on multiple nodes? - Could the processes be run in a
KieSessionother than the one which started them ? Precisely speaking, can processes containing Human Tasks switch betweenKieSessions? TheprocessSessionIdcolumn on the Task DB table suggests that they can't. - Will process timers work properly if the process switches between
KieSessions? - What mechanisms does jBPM 6 offer to coordinate processes in a cluster? How should the process instance being prevented from being run on multiple nodes if the processes are not linked to a specific user session?
- Can events/messages be sent between processes running on different nodes?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.0
- jBPM
- 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
