You can use event listeners to keep track of the pending activations,
which is (sort of) a measure of the remaining work to be done until
the engine has fired all rules. Also, if you know the number of facts
to be inserted, displaying the number of facts that remain to be
inserted is another measure of the work to be done until fireAllRules
is (usually) called.
-W
On 31/12/2013, glambert27 <glambe2(a)hotmail.com> wrote:
I have a project that requires the use of stateful sessions. Upwards
of 70K
facts are inserted into the session. As a result the running time for the
rules to run is upwards of 10-15mins. I need a way to have the user to get
feedback of running rule process. Statusbar or something of the likes?
I've attached my rule file sanitized to protect the innocent.
sanitized_rules.drl
<
http://drools.46999.n3.nabble.com/file/n4027470/sanitized_rules.drl>
--
View this message in context:
http://drools.46999.n3.nabble.com/Running-Feedback-during-drools-run-tp40...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users