[rules-users] How to Ignore Rule Compilation Error and Continue to Compile Other Rules?

hyjshanghai hyjshanghai at gmail.com
Mon Feb 14 02:03:29 EST 2011


I want to add several rules into a KnowledgeBuilder instance through
invocation of kbuilder.add() for each rule.
I want that if one rule fails to be added, the remaining rules can still be
added into kbuilder for business validation.
However, this seems not to be the default behavior. If one rule fails to be
added, other added rules won't take effect.

How can I realize such fault-tolerant rule loading?
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-Ignore-Rule-Compilation-Error-and-Continue-to-Compile-Other-Rules-tp2490203p2490203.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list