Hi

While integrating the drools with my application, i have used the RuleAgent configuration properties as


##
## Rule Agent configuration file
##

newInstance = false
poll = 30
name = MyRuleAgent
dir = C : /package_binaries


I have put the binary file in the specified directory ( C : /package_binaries ). So it will scan the directory every 30 sec and update the ruleBase accordingly.
My problem is, if i remove the binary package from the specified directory, it is scanning the directory and clearing the ruleBase (deleting).

If we use the URL, even though the site is not up, or if there is no good version of package it won't effect the rulebase which is in the application. But in case of dir it is effecting the rulebase irrespective of binary package (whether it is good version/ bad or it is deleted).

How can we avoid clearing the rulebase?

Thanks
Sartaj Shaik
Tata Consultancy Services
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to