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@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@oogis.ru>
Hello rule-users,

How to kill drools? WorkingMemory.dispose() is not working - Drools working all the same :(

Sincerely,

  Ruslan Sorokin





_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@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