Frankly, I would suggest another solution. If you are very concerned
about missing activations, you should put in place a process that
guarantees delivery and not try to guarantee rule engine availability.
JMS provides such a capability.

Regards
Steve

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 8:33 AM
To: [EMAIL PROTECTED]
Subject: JESS: Configuring rules dynamically






We are designing a Java program (multi-threaded) that monitors for
critical system events and would like to possibly use Jess.  We can't
afford to end the program whenever the user wants to change the rules.
We want to be sure we don't miss any activations by having to take down
the engine, reload the rules, and start it  back up.  I am hoping there
is a more
reliable way.   I am new to Jess and have some questions in this area.

Is it possible to load/modify/delete rules while the rules engine is
running (e.g. after a call to (run-until-halt)) probably by calling
executeCommand at some point?  Basically, we want hot-deployment of
rules after the user has edited them from our Java UI.  It would appear
that this could be done with Jess' interpretive design with a
combination of some rules, saving and reloading of facts, possibly using
the different events, maybe replace the parser, or even some use of the
activation semaphore.

Is this recommended?
Are there any gotchas?
Will modifying rules on the fly be bad for performance?  I am assuming
the rete network will be rebuilt. Is there a recommended way of doing
hot deployment? Is there a better time to modify the rules during
execution, say, specific "idle" times during rules processing?

Thanks in advance,
Jeff

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use
your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to