The code looks ok to me.  If an activation has fired, then you cannot cancel 
it. Cancelled events are only for activations that are true and have not yet 
fired.

Read my previous email about how to use the unmatch listener, that will do what 
you want.

Mark
On 12 Mar 2013, at 20:49, jrh3 <j...@att.com> wrote:

> I just downloaded the last Drools 5.5 source code and it still has the
> problem.  In DefaultAgenda.java, at line 707 in the cancelActivation()
> method, it calls decreaseDormantActivations(), but doesn't bother to fire an
> ActivationCancelled event.  If lines 701-703 are copied before line 707,
> then that is a quick way to fix the problem.  (I have not checked 6.0)
> 
> -Jim
> 
> 
> 
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Implementing-Refraction-with-Drools-tp4021705p4022794.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to