On 13 July 2011 08:24, Andre <span dir="ltr"><<a href="mailto:morpheusandre@web.de">morpheusandre@web.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
of course, it is , what does it mean in the context of this rule?<br>
the sliding windows expires, where ? while processing the arraylist ?<br></blockquote><div><br>No telling without the full stack dump and sufficient code and data to reproduce. At least the accumulate function and ResourceMatch would be required, and how events are inserted.<br>
<br>Short questions are bound to produce short answers.<br><br>-W<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
rule "Request counting analysed Resources By Id"<br>
when<br>
$list: ArrayList()<br>
from accumulate($neu : RequestCtx() over<br>
window:time(1m),countMatchingAnalysedResourcesInRequest($neu) )<br>
ResourceMatch( $id: uri, count > 1 ) from $list<br>
then<br>
System.out.println( "Id " + $id.toString() + ": " );<br>
System.out.println("Request counting Resources By Id Rule Workss");<br>
channels["AuthZBlocking"].send(new ItemCacheEntry(new<br>
Item((String)$id.toString()), new Date(System.currentTimeMillis()+ 8000)));<br>
end<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/SlidingTimeWindow-BehaviorExpireWMAction-tp3163096p3164991.html" target="_blank">http://drools.46999.n3.nabble.com/SlidingTimeWindow-BehaviorExpireWMAction-tp3163096p3164991.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>
</font></blockquote></div><br>