Yes, that is recommended, although you can still use the old API, even
for new features.
One comment though: temporal operators work both in STREAM and CLOUD
mode. The features that require STREAM mode are sliding windows and
automatic event garbage collection.
[]s
Edson
2009/6/30 Julien Nicoulaud <julien.nicoulaud(a)bull.net>
Hi, I am trying to upgrade a system from Drools 4.0.7 to Drools 5.0.1
to
use Drools Fusion temporal operators.
With used to start our rule engine this way:
RuleBase ruleBase = RuleBaseFactory.newRuleBase(new
RuleBaseConfiguration(ourClassloader));
WorkingMemory workingMemory = ruleBase.newStatefulSession();
Now this seems deprecated reading the Drools fusion documentation...
Should I give up RuleBase for KnowledgeBase to be able to start the rule
engine in "Stream" event processing mode ?
Thanks for your help !
Julien Nicoulaud
OW2 Consortium
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @
www.jboss.com