[rules-users] How to kill drools?
Edson Tirelli
tirelli at post.com
Tue Sep 23 11:45:43 EDT 2008
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 at 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 at oogis.ru>
>
>> Hello rule-users,
>>
>> How to kill drools? WorkingMemory.dispose() is not working - Drools
>> working all the same :(
>>
>> Sincerely,
>>
>> Ruslan Sorokin
>> sorokin at oogis.ru
>>
>>
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
> ------------------------------
>
> _______________________________________________
> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> 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, a division of Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080923/2b9a0af7/attachment.html
More information about the rules-users
mailing list