eventList : LinkedList(size == 5)
from collect( Event(text == event.text)
then
System.out.println("rule5 is fired " + eventList.size());
After adding 5 events, I see 5 log msg instead of one as I'd expect.
If I add more events, I will see more log. How do I tell LHS to reset the count from 0.
Basically, I want to take 1 event out of 5 similar events (suppressing filtering). So if there are 10 similar events, my RHS should activate 2 times, not 10 times.
Thanks,
-av