[rules-users] Manage dynamically rules in KnowledgeBase

Mark Proctor mproctor at codehaus.org
Wed Jul 24 09:38:09 EDT 2013


On 24 Jul 2013, at 11:04, tiahdomoina <rabarijaonadomoina at gmail.com> wrote:

> Thanks for the link, it definitely helped me 
> 
> I was wondering about 2 things :
> 
> 1- With the knowledgeBuilder, you can check if there is an error with the
> method getErrors(). So you can remove immediately the resource which caused
> the error. Is there anything like that for the KnowledgeBase to check after
> adding a new KnowledgePackage in it ?
Once there is an error, you'll need to blow it all away and start again. We don't have safe recovery, sorry.
> 
> 2- If I want to remove a rule, I have to update all facts. But for my
> application, I have 20 000 facts, is there any specific way to manage it ?
You can remove a rule, while maintaining stateful sessions. So that should work fine.

Mark
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/Manage-dynamically-rules-in-KnowledgeBase-tp4025108p4025114.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list