[rules-users] Sliding window behavior in stream mode and realtime clock

Wolfgang Laun wolfgang.laun at gmail.com
Wed Dec 7 11:08:42 EST 2011


I didn't use an event with time stamp 1350. See the times in my
previous mail; data was taken from your original post.

-W


On 07/12/2011, MarcoMojana <marco.mojana at exmachina.ch> wrote:
>
> 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-and-realtime-clock-tp3564950p3567750.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list