You can either break down the big hash maps and use different classes instead
of it
or
You can change your conditions, so as whenever the hashMap changes, only the
rule that is to be fired gets fired.
-AA
--
View this message in context:
http://drools.46999.n3.nabble.com/infinite-loop-rule-e
On 04/02/2014, wtang wrote:
> I am using a hashMap for my facts. That is I actually have all the facts
> in
> one big hashMap. Drools treats the hashMap as one fact and whenever I
> update this hashMap, all the rules are executed again and again.
>
> Would are the best way to solve this problem.
I am using a hashMap for my facts. That is I actually have all the facts in
one big hashMap. Drools treats the hashMap as one fact and whenever I
update this hashMap, all the rules are executed again and again.
Would are the best way to solve this problem. I can use no-loop, but it has
its dr