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 <[EMAIL PROTECTED]>

>  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 Руслан Сорокин <[EMAIL PROTECTED]>
>
>>   Hello rule-users,
>>
>>  How to kill drools? WorkingMemory.dispose() is not working - Drools
>> working all the same :(
>>
>>  Sincerely,
>>
>>    Ruslan Sorokin
>>   [EMAIL PROTECTED]
>>
>>
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> [email protected]
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>  ------------------------------
>
> _______________________________________________
> rules-users mailing [EMAIL 
> PROTECTED]://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
Edson Tirelli
JBoss Drools Core Development
JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to