There is no way of telling how the A, B, C of your data relates to the rule.
Nothing there suggests that rules 1, 2, 3 select A, B, C, respectively.
On 22 July 2011 14:41, Andre <morpheusandre(a)web.de> wrote:
i want to accumulate on different properties of my event.
i have 3 rules which all work in the same manner , accumulate on that event
and then work with that result
my rules are all like this
rule "Request counting Subject By Id"
from accumulate($neu : RequestCtx() over
java.util.Map.Entry( $id: key, $count: value > 1 ) from $set
channels["AuthZBlocking"].send(new ItemCacheEntry(new Item((String)$id),
new Date(System.currentTimeMillis()+ 20000)));
these rules should work concurrently, depending on the propterties.
to test this i wrote...
let us assume:
Rule1 looks for A.A and if |A.A>1| fire
Rule2 looks for A.B and if |A.B>1| fire
Rule3 looks for A.C and if |A.C>1| fire
and instead of firing 1,2,3
the engine fires : 1,1,2,1,1,2,1,2
Do i have to influence the agenda , when working on the same eventtype ??
View this message in context:
Sent from the Drools: User forum mailing list archive at Nabble.com
rules-users mailing list