[rules-users] Fusion , timing and streams

Mauricio Salatino salaboy at gmail.com
Sat Jan 9 11:46:37 EST 2010


both rules are exactly the same.
If you found difference could be because your events are arriving in
different orders.. or because the action of one rule cancel the activation
of the second rule (if you are running both rules at the same time)



On Sat, Jan 9, 2010 at 2:37 PM, Khalil Hafsi <hafsi at fzi.de> wrote:

> Hi guys,
>
> I was experimenting with Drools fusion (last version) and I have a small
> question :
> What is the difference between the following (down the page) two rules :
> (note the "and" between the patterns) , i.e : how one can understand the
> "and" , is it a logical or temporal conjunction ? and finally what is
> the implied "relation" between pattern as in rule "b" ? I think it is an
> "and" , but using drools fusion to detect 2 stocks having a temporal
> relation (using the after op.) , I found different results when
> explicitly using "and" between the patterns and not using it.
> One final question , what is the default event policy in fusion ? I can
> not find any docu about that.
> Thank you for your time -k
>
> rule "a"
> when
>    --pattern1
>    and
>    --pattern2
> then
>    --action
> end
>
> rule "b"
> when
>    --pattern1
>    --pattern2
> then
> --action
> end
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100109/28268d61/attachment.html 


More information about the rules-users mailing list