[rules-users] multiple expiration definitions for the same face type in different drl files

Elran Dvir elrand at checkpoint.com
Sun Nov 3 07:42:42 EST 2013


Can someone please answer my question?

Thanks.

From: Elran Dvir
Sent: Tuesday, October 22, 2013 3:35 PM
To: rules-users at lists.jboss.org
Subject: multiple expiration definitions for the same face type in different drl files

Hi all,

I am examining Drools Fusion in stream mode.

This is my case:
I have several drl files.
Each drl file contains one rule.
Each drl file is built to a knowledge package.
Each drl file contains declaration of the same fact (referencing to a imported class defined outside of the drl). The fact's role is of course event.

Can I define different expiration (@expires) for the fact in each drl?
Is expiration relevant only to the same drl?
Is the answer different if the fact is created in the rule's RHS or if it inserted to the session's working memory outside of the drl?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131103/0abea34a/attachment.html 


More information about the rules-users mailing list