Session in that case is the stateful session (working memory) I guess he
was creating. You can also do that in the consequence, but the
KnowledgeHelper variable name in the consequence is "drools" as you probably
already know.
In application code:
StatefulSession session = rulebase.newStatefulSession();
...
session.halt();
In rules consequences:
drools.halt()
[]s
Edson
2008/9/23 Scott Reed <sreed(a)avacoda.com>
Edson,
Is that session an instance of org.drools.spi.KnowledgeHelper?
Scott
Edson Tirelli [9/23/2008 10:50 AM] wrote:
Did you tried a shotgun? ;)
If that fails, maybe session.halt()?
[]s
Edson
2008/9/23 Руслан Сорокин <sorokin(a)oogis.ru>
> Hello rule-users,
>
> How to kill drools? WorkingMemory.dispose() is not working - Drools
> working all the same :(
>
> Sincerely,
>
> Ruslan Sorokin
> sorokin(a)oogis.ru
>
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
------------------------------
_______________________________________________
rules-users mailing
listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
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, a division of Red Hat @
www.jboss.com