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

Vikas Hazrati vhazrati at inphina.com
Mon Feb 14 02:16:54 EST 2011


Hi, are you dynamically creating and adding rules to the knowledge base?
which api do you use? can you point me to the api docs/ sample code. help
appreciated.

Regards

On Mon, Feb 14, 2011 at 12:33 PM, hyjshanghai <hyjshanghai at gmail.com> wrote:

>
> 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.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
Best Regards | Vikas

Inphina Technologies
Co-Founder and Technical Architect
Mobile: +91-9899174194
Landline: +91-11-25126026

http://inphina.com
http://thoughts.inphina.com
http://twitter.com/inphina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110214/ce7680ff/attachment.html 


More information about the rules-users mailing list