I am trying to add an event listener on adding a new rule / updating a rule.
Following are the steps. Somehow the listener is not getting called.
any help on this highly appreciable!!!!
Step1: Create an instance of
Extend DefaultRuleBaseEventListener and create an installce.
Mylistener mylistener=new Mylistener()
Sep2: Add to RuleBase instance .
rulesbase.addEventListener(mylistener)
Step3: Start the client. let the client sleep for 3 min.
Step4: Change the rule or Add rule.
This should call the methods in Mylistener. But it is NOT.
--
View this message in context:
http://www.nabble.com/Rulebase-EventListener-tp23370433p23370433.html
Sent from the drools - user mailing list archive at
Nabble.com.