]
Mario Fusco reassigned DROOLS-256:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
Sliding Window rule duplicate fireing after fireAllRules() loop
---------------------------------------------------------------
Key: DROOLS-256
URL:
https://issues.jboss.org/browse/DROOLS-256
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Final
Environment: Modified 'Hello world' example, Eclipse Juno with Java 1.6
on Mac OS
Reporter: Alexander Wolf
Assignee: Mario Fusco
Given the following rule:
//counts numbers of events in the previous 3 seconds
rule "slidingTimeCount"
when
$n: Number (intValue > 0) from accumulate ( $e : Message() over window:time(3s) ,
count($e))
then
System.out.println("Messages in last 3 seconds: " + $n);
end
When Messages (Event) are inserted in a loop and after this loop fireAllRules() on the
session is invoked, the rule fires twice.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: