[rules-users] How to batch high freq events before sending to RHS

Wolfgang Laun wolfgang.laun at gmail.com
Tue Jul 3 17:31:48 EDT 2012


Did you try this using a timer?
-W

On 3 July 2012 23:16, Ladd <ladd at 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-sending-to-RHS-tp4018447.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120703/435d9035/attachment.html 


More information about the rules-users mailing list