Dispose of your session and create another.
--- On Wed, 9/16/09, Scott Burrows <scottjburrows(a)gmail.com> wrote:
From: Scott Burrows <scottjburrows(a)gmail.com>
Subject: [rules-users] How to prevent activation list creation on retracts
To: "Rules Users List" <rules-users(a)lists.jboss.org>
Date: Wednesday, September 16, 2009, 12:50 PM
I think this question was asked recently
but I cant seem to find it.
Using 4.0.7
I have a large number of facts I need to retract from
working memory after all rules have been processed
(transaction is completed) so I can insert new facts for the
next transaction. Milliseconds count.
I know that drools recalc's which rules are eligible to
be run after each retraction. Since all facts are being
removed its unneeded processing and time that could be
saved.
How can I tell drools that until I tell it otherwise do not
re-evaluate the rules to save time?
Scott
-----Inline Attachment Follows-----
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users