]
Mario Fusco reassigned DROOLS-597:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
Custom implementations of dynamic salience don't work
-----------------------------------------------------
Key: DROOLS-597
URL:
https://issues.jboss.org/browse/DROOLS-597
Project: Drools
Issue Type: Bug
Environment: Eclipse/Windows 7 - 64 bits
Reporter: Yacine Jaber
Assignee: Mario Fusco
Fix For: 6.2.0.CR1
Attachments: SalienceProject.7z, WodSalienceImpl.java
I have implemented my own bean (Salience) that manage the dynamic salience for the
rules.
After building the drl file i overlaod the salience of the rules with my dynamic salience
WodSalienceImpl(Attached file).
However, the salience is not respected even if this bean was called (getValue) before the
match creation.
N.B: I used MVELSalience by writing the dynamic salience into the rules(MEVL expression).
The result was the same.