JBoss Community

Re: When does Session.startProcess() return?

created by Brian Wallis in jBPM - View the full discussion

Hi again, a supplementary question if I may...

 

I am assuming that when I call session.fireAllRules() on a stateless session that it returns when all matching rules have fired and that all of the rules that do fire are executed within the same thread that called session.fireAllRules(). (not really  a jBPM question, just general Drools).

 

The reason for these questions is that I have worked on more than one system where the thread model was poorly understood and deadlocks and race conditions occured with monotonous (and unpredictable) regularity. I intend to avoid all those problems up front in the design!

 

thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community