laune wrote
With the rules you gave, in STREAM mode and with a pseudo clock and
running 5.2.0:
Output:
SingleEvent TriggerEvent [timestamp=Tue Dec 06 13:00:00 CET 2011]
Found TriggerEvent [timestamp=Tue Dec 06 13:00:00 CET 2011]
SingleEvent TriggerEvent [timestamp=Tue Dec 06 14:10:00 CET 2011]
I cannot reproduce your output with 5.3.0 final. A possible explanation is
that if you fireAllRules when the inhibit event @ 13:50:00 is already in the
entry-point, the sliding window moves from 13:00:00, but it already sees the
event in the future (if I have correctly understood, a 1h window sees the
past 1h and all the future). The event @ 13:50:00 is of type "Inhibit", so
it blocks the rule.
--
MM
--
View this message in context:
http://drools.46999.n3.nabble.com/Sliding-window-behavior-in-stream-mode-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.