That is correct.

Rules LHS is evaluated as rules are inserted.

Calling fireAllRules() causes the activations on the agenda (caused by evaluation of the LHS) to be executed.

On 15 December 2011 16:00, freejava <freejava3@gmail.com> wrote:
Hello,

When I insert the object in the Statefulsession the rules are getting
evaluated. Is this the correct behaviour ?

I was under the impression that rules are evaluated only when you call
fireAllRules() on the session.

Any help would be appreciated.

--
View this message in context: http://drools.46999.n3.nabble.com/Rules-firing-during-insert-tp3589050p3589050.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users