On 13 July 2011 08:24, Andre <morpheusandre(a)web.de> wrote:
of course, it is , what does it mean in the context of this rule?
the sliding windows expires, where ? while processing the arraylist ?
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.
Short questions are bound to produce short answers.
-W
rule "Request counting analysed Resources By Id"
when
$list: ArrayList()
from accumulate($neu : RequestCtx() over
window:time(1m),countMatchingAnalysedResourcesInRequest($neu) )
ResourceMatch( $id: uri, count > 1 ) from $list
then
System.out.println( "Id " + $id.toString() + ": " );
System.out.println("Request counting Resources By Id Rule Workss");
channels["AuthZBlocking"].send(new ItemCacheEntry(new
Item((String)$id.toString()), new Date(System.currentTimeMillis()+ 8000)));
end
--
View this message in context:
http://drools.46999.n3.nabble.com/SlidingTimeWindow-BehaviorExpireWMActio...
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