We have an application with 2 rules engines and we load the rules on startup.
Is creation of a rulebase threadsafe?
Can I load both rulebases using the code below concurrently in 4.07 ?
I encountered issues multithreading this in 4.01 but in prototyping for our
4.07 upgrade I have not encountered the same issues.
PackageBuilder builder = new PackageBuilder(pkgBuilderCfg);
builder.addPackageFromDrl( new StringReader(ruleset) );
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
Thanks
Barry
--
View this message in context: http://www.nabble.com/Multithreading-Rulebase-Parsing-Threadsafe-tp17239987p17239987.html
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users