[rules-users] Drools Fusion: expiration

Matteo Cusmai cusmaimatteo at gmail.com
Tue May 29 02:28:30 EDT 2012


So, from documentation, does the explicit expiration work when we don't use
time operator.

Thanks,

Matteo Cusmai
Il giorno 29/mag/2012 08:20, "Wolfgang Laun" <wolfgang.laun at gmail.com> ha
scritto:

> This quote is from the current version of "Fusion":
>
> "The above example declares an expiration offset of 30 minutes for
> StockTick events. After that time, assuming no rule still needs the
> event, the engine will expire and remove the event from the session
> automatically."
>
> The catch is, as you may have noticed, the clause: "assuming no rule
> still needs the event". Whatever this means...
>
> An educated guess for interpretation for "a rule needs an event" would
> be "a partially or fully completed activation of a rule holds a
> reference to an event". But, since the author hasn't added this
> explanation, it might be something else.
>
> -W
>
>
> On 28/05/2012, Matteo Cusmai <cusmaimatteo at gmail.com> wrote:
> > Hi all,
> > i have noticed a strange behavior, but i am not sure that i depend on
> > drools or depend by my bad knowledge of it.
> > I am using drools fusion and i have a lot of classes with role event. I
> > have put them the expiration value to 5 minutes.
> > >From my understanding, if i use explicit expiration, as i do, when it
> pass
> > 5 minutes and that event is out of scope of all my rules, that event is
> > deleted.
> > But, i noticed that the last event hasn't retracted after 5 minutes and
> > this behavior makes the system no stable, because it works differently
> > after some minutes.
> >
> > If i don't use explicit expiration, the system seems to work fine, so i
> am
> > however happy, but i would like to understand the issue.
> > Thanks a lot,
> > Matteo.
> >
> _______________________________________________
> 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/20120529/266ca4df/attachment.html 


More information about the rules-users mailing list