[rules-users] evaluating different aspects of the same event

Andre morpheusandre at web.de
Tue Jul 26 11:40:34 EDT 2011


does that also mean, that when for example 2 threads insert objects ,  they
also will evaluate the accumulate function twice?

there will also be 2 contexts so that this example doesnt count the Requests
of the WorkingMemory, it just counts the Requests the thread has inserted?

Example
   $set: Set()
            from accumulate($neu : RequestCtx() over
window:time(1m),countMatchingSubjectIdsInRequest($neu) )
    java.util.Map.Entry( $id: key, $count: value > 1 ) from $set


--
View this message in context: http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3200687.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list