Hi Thomas,

I implemented the latch system as you suggested, but came to a problem when
running batches of data.

Since the latch is set when the rule fires, you can't have that rule fire
for more than one piece of data.

So, with this method, for batch processing, you need to include a UUID into
each latch.

Are there any other patterns?  All this UUID and Latch/Flag functionality
seems really a lot more complicated than it should be.

I suppose I can write it to only process one piece of data at a time, but
that might end up slower.


Regards,
Daniel
-- 
View this message in context: 
http://n3.nabble.com/infinite-loop-in-decision-table-tp129933p139034.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to