]
Davide Sottara updated DROOLS-597:
----------------------------------
Summary: Custom implementations of dynamic salience don't work (was: Dynamic
salience does'nt work)
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: Mark Proctor
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.