Is it possible to set different expiration time for same event in different DRL files ?
Issue
- Is it possible to set different expiration time (i.e. setting separate values for
@expireson the events) for same event in different DRL files ?
The scenario is when there are separate DRL files where the constituent rules are operating on the same facts (i.e. the structure of the facts/events are the same). - In case of sliding windows how does the events set with expiration time behave ? If there exists a sliding window of 10sec then the facts(events) needs to be in memory all that time in order to trigger the rules. In such a scenario does it mean that older facts (according to the rules higher sliding window) will be removed automatically from memory?
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
