Create a "transaction"-like context for WMA to prevent inconsistent
intermediate-states
---------------------------------------------------------------------------------------
Key: JBRULES-2769
URL:
https://jira.jboss.org/browse/JBRULES-2769
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.1.1.FINAL
Reporter: Edson Tirelli
Assignee: Edson Tirelli
Fix For: 5.2.0.M1
Create a "transaction"-like context for all WMA to prevent inconsistent states
during propagation. The idea is to delay agenda changes (rule activations, cancellations
and re-activations) until the whole propagation is finished. This is to avoid inconsistent
states when the same fact is propagated through multiple RETE branches.
Examples of cases that require this include:
* forall re-activating on fact retractions
* fireUntilHalt immediately firing rules that are activated and canceled during the same
WMA
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira