Did you try this using a timer? <br>-W<br><br><div class="gmail_quote">On 3 July 2012 23:16, Ladd <span dir="ltr">&lt;<a href="mailto:ladd@codemettle.com" target="_blank">ladd@codemettle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have events that come in bursts and I&#39;d like to handle them in batches<br>
instead of individually.  So in English it would be something like &quot;Collect<br>
events that look like this for 10 seconds and send the list to my RHS.&quot;<br>
<br>
I&#39;ve tried several combinations of collect, accumulate, and &quot;over<br>
window:time()&quot; but the best I can do is get the list sent to my RHS each<br>
time an event is added to it.<br>
<br>
I feel like I&#39;m close.  Can somebody point me in the right direction?<br>
<br>
Many thanks in advance!!<br>
<br>
- Ladd<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/How-to-batch-high-freq-events-before-sending-to-RHS-tp4018447.html" target="_blank">http://drools.46999.n3.nabble.com/How-to-batch-high-freq-events-before-sending-to-RHS-tp4018447.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>