Did you try this using a timer?
-W
On 3 July 2012 23:16, Ladd <ladd(a)codemettle.com> wrote:
I have events that come in bursts and I'd like to handle them in
batches
instead of individually. So in English it would be something like "Collect
events that look like this for 10 seconds and send the list to my RHS."
I've tried several combinations of collect, accumulate, and "over
window:time()" but the best I can do is get the list sent to my RHS each
time an event is added to it.
I feel like I'm close. Can somebody point me in the right direction?
Many thanks in advance!!
- Ladd
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-batch-high-freq-events-before-se...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users