[rules-users] Multiple packages approach

Torfox bartosz.jankiewicz at gmail.com
Sun Dec 6 04:43:53 EST 2009


Hi,

I'm trying to achieve the following result. There are many rule sets, every
set is responsible for insurance premium calculation and these sets are
independent (every set applies to a single product). I have organized the
rules into packages, where package identifies product.
After calculation of every rule set I have a resulting object insurance
premium and calculation log.

What is the best pattern to execute those rules. E.g. can I put all packages
into a single KnowledgeBase and execute StatelessKnowledgeSession providing
that the last rule of every rule set clears the calculation context? 
Or is it better to create separate KnowledgeBase for every single product?

Thanks for the hints.

Bartosz
-- 
View this message in context: http://n3.nabble.com/Multiple-packages-approach-tp69223p69223.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list