[
https://issues.jboss.org/browse/DROOLS-597?page=com.atlassian.jira.plugin...
]
Davide Sottara edited comment on DROOLS-597 at 9/13/14 9:46 PM:
----------------------------------------------------------------
Fixed, I'm preparing a PR. It will be officially available next week
Thanks for reporting
Davide
[Edit: details]
Dynamic salience works using expressions e.g. {code}salience $p.age{code},
but custom implementations of dynamic salience were not supported. This
ticket fixes the issue allowing the users to set their own implementations of
dynamic salience
was (Author: dsotty):
Fixed, I'm preparing a PR. It will be officially available next week
Thanks for reporting
Davide
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.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)