Hi,
I need to load data contained in many Lists as my input.
In what way is it possible for me to load multiple lists in
drools?
I am doing this currently:
public void
runStatelessRules(String[] rulesFiles,String
dslFileName,Collection<Object>al,
String ruleFlowFileName) throws Exception {
RuleBase ruleBase = loadRules(rulesFiles);
StatelessSession workingMemory =
ruleBase.newStatelessSession();
workingMemory.execute(al);
}
Collection<Object>al
is my input. In this I have dumped data from multiple arrayLists.
All rules get
processed accurately.
But creates a
mess when I need to write to my output file.
Is it in some
way possible for me to give separate lists to load to my working memory???
Please help. Thanks
in advance.
-M
Please consider the environment before printing this email.
Visit our website at http://www.nyse.com
*****************************************************************************
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.