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

Wolfgang Laun wolfgang.laun at gmail.com
Sun Jul 24 09:58:39 EDT 2011


On 24 July 2011 14:21, Andre <morpheusandre at web.de> wrote:

> cause if i would know that there hasnt been a change in the count of, for
> example, A.A,  it shouldnt fire,
>
> that leads me to the next question: is an accumulate function excuted by
> more than one thread ?
>
>
If there is more than one thread inserting facts, then:  yes.
-W


> it rises if you think of storing such information in the context of the
> accumulate function directly.  like a semaphore, which  signals that this
> entry has already caused something fired
>
> in the example:
>  the rule 1 accumulates over attributes of incoming objects  (A.A) and also
> sets a flag if an entry has been changed (count ++)
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3195093.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110724/01015b6e/attachment.html 


More information about the rules-users mailing list