[rules-users] Order of Execution on Messages

gboro54 gboro54 at gmail.com
Tue Feb 28 08:32:00 EST 2012


We are currently authoring rules using Drools 5.3 and using jBPM 5.2 for
orchestration. The situation we have is as follows: Certain groups of rules
can execute on n number of messages in any order(i.e the order in which the
consequences occur does not matter). The problem comes in later in the
process when those same n messages need to have their consequences happen in
a certain order. Is there a good way to handle this? We have thought about
appending messages to a queue and just operating on one message at a time
however this seems slow. In addition when utilizing jBPM and drools what is
the best way to batch data in and out of the session. I understand starting
a new session is cheap but was hoping there may be a way to have jBPM insert
n records at a time and just continue to read from the db until no more
records are returned. 

TIA!


--
View this message in context: http://drools.46999.n3.nabble.com/Order-of-Execution-on-Messages-tp3784013p3784013.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list