[rules-users] RuleBase.newStatefulSession() and EventProcessingOption
Edson Tirelli
tirelli at post.com
Tue Jun 30 08:08:34 EDT 2009
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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090630/aa8910d6/attachment.html
More information about the rules-users
mailing list