[jboss-jira] [JBoss JIRA] (DROOLS-597) Dynamic salience does'nt work
Yacine Jaber (JIRA)
issues at jboss.org
Fri Sep 12 03:07:19 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yacine Jaber updated DROOLS-597:
--------------------------------
Attachment: SalienceProject.7z
Please see the attached a simple maven project that reproduce and explain this JIRA.
This project perform a test with some of persons which should be fired according to their age.
> Dynamic salience does'nt 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)
More information about the jboss-jira
mailing list