[rules-users] Drools Fusion Dropping Actions to Events?
Wolfgang Laun
wolfgang.laun at gmail.com
Tue Apr 22 05:10:04 EDT 2014
On 22/04/2014, Chandra Sekhar Divi <chandu_divi at hotmail.com> wrote:
> Thanks a lot for the information.
> Adding 'Thread.sleep(1);' after every insert reduces the problem intensity,
> but sometimes even this solution also does not perform all the expected
> actions (May be some events are dropped due to race condition).
> Is there a way I can wait for KIE session to digest the event before I can
> insert another event?
Not unless you consider inserting and firing all rules in a
synchronous (single-threaded) application. The feasibility depends on
the frequency of arriving events, but if you receive one temperature
reading per minute from each city or town in India (less than 1,700),
you won't have any problems.
FWIW, the race condition does not occur with Drools versions 5.3.0 and
5.5.0; so it should not be in 5.6 either.
-W
>
> Thanks,
> Chandra.
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Drools-Fusion-Dropping-Actions-to-Events-tp4029314p4029316.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list