[rules-users] uploading rule files dynamically

Fnu Mahalakshmi FMahalakshmi at nyx.com
Wed Jun 9 11:59:10 EDT 2010


Hi,
Is there anyway that I can dynamically add rule files??
I am loading it like this as of now :
private static final String[] RULES_FILES = new String[]{ "Rule1.drl"};

new RuleRunner().runStatelessRules(RULE_FILES,null,list_of_data,null);


If I create new rule files, I will have to keep adding it to RULES_FILES.
Is there someway I can check dynamically if there are more rule files and get it added to my rulebase??

Thanks
M
</pre>

<P><hr size=1></P>
<P><STRONG><font color=green>Please consider the environment before printing this email.</font></STRONG></P>
<P><STRONG>Visit our website at <a href="http://www.nyse.com">http://www.nyse.com</a> <br>

*****************************************************************************
<br>
Note:  The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system.  Thank you.  NYSE Euronext.

</STRONG></P><pre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100609/c4cdfa6b/attachment.html 


More information about the rules-users mailing list