[rules-users] Remove rule but timer still fires

Ladd ladd at codemettle.com
Wed Jul 25 12:00:18 EDT 2012


I just noticed a very similar observation in this JIRA entry:
https://issues.jboss.org/browse/JBRULES-3078

When I ran that test case with 5.4.0.Final it worked as it should (the timer
didn't continue to fire).  The difference is that the this test case is
calling:

    kbase.removeRule( pkgName, ruleName );

where I'm calling:

    org.drools.rule.Package pkg;

    pkg.removeRule( rule );


Changing my code to call kbase.removeRule() got rid of the timer!!  Awesome!

- Ladd



--
View this message in context: http://drools.46999.n3.nabble.com/Remove-rule-but-timer-still-fires-tp4018509p4018902.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list