I have an application built on Drools 4.0.3, using JBRMS to manage the rule base and the
RuleAgent class to load the rules into my application.
My problem is that the application gets the rulebase from the agent and starts processing
events (using a StatelessSession for each event) immediately at startup, *before* the
agent has downloaded the rule package from the JBRMS.
I'm looking into using the RuleAgent callbacks to set a flag when the rule package has
loaded, and have my event processor wait for the flag to be set.
If there's another way I'd love to hear it.
- irving -
Show replies by date