James,
It may not be "easy", but one way is to use the dynamic rules feature
from JBoss Rules. This way, you assert facts into your rule base with
your current rules. When a rule/package changes, you remove that
rule/package from the rulebase and add the new one. JBoss Rules takes
care of creating the new activations for you based on existing facts,
but you need to be aware that such activations will be created even if
it was already fired for the old rule.
[]s
Edson
jdepaul wrote:
Would like to use Drools to evaluate Events that come to us from
various
systems. The business requirements dictate that the rule definitions change
frequently (at least once every hour), so we need the ability to 'refresh'
rule definition periodically.
How would you design a component that can Assert facts against the the
'current' set of rules as they exist, yet be able to refresh the rule
definitions when they change?
James
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com