Hello,
Alternatively, KnowledgeBase has removeRule and getRule functions that allow
updating rules (by package name and rule name if I remember correctly).
I hope it helps,
Pierre
Od: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] W imieniu Michael Anstis
Wysłano: Monday, October 11, 2010 4:16 PM
Do: Rules Users List
Temat: Re: [rules-users] Upating drl file without restarting the application
Have a look at KnowledgeAgent and change-sets.
KnowledgeBuilder already supports the operations you define.
Have a look at the manual and JavaDocs.
With kind regards,
Mike
2010/10/11 <devyani.sapre(a)wipro.com>
Hi
How to achieve dynamic updation of rule file (rules-added/deleted/modified)
without the need for the application to be restarted so as to load the rule
file? Is there any property that can be set to achieve this or do I need to
run a thread to continuously monitor the rule file for any change?
Thanks
Devyani
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not
the intended recipient, you should not disseminate, distribute or copy this
e-mail. Please notify the sender immediately and destroy all copies of this
message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should
check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.
www.wipro.com
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users