[rules-users] why java.util.Map doesn't work on RHS update

laune wolfgang.laun at gmail.com
Wed Mar 21 02:43:05 EDT 2012


Read the definition of lock-on-active: it inhibits the firing of your second
rule.

It is almost certainly a bad idea to use Map objects like this. Beans are
much better suited, as you could write rules such as

when
   MyType( year == 2012, state == null )
then
   modify(...)

-W

--
View this message in context: http://drools.46999.n3.nabble.com/why-java-util-Map-doesn-t-work-on-RHS-update-tp3831626p3844865.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list