[rules-users] Why does it seem like salience is being ignored?

Wolfgang Laun wolfgang.laun at gmail.com
Sat Jul 14 13:39:14 EDT 2012


The session is running in a separate thread. There was an email on the
list, from Edson, just the other day, telling us about a race
condition in 5.4.0. Could be this is another effect of this bug.
"Every once in a while" is typical.

-W


On 14/07/2012, Ladd <ladd at codemettle.com> wrote:
> I appreciate you trying to reproduce this W!!  I wonder what's different
> between my test and yours.  With the attached test classes and 5.4.0 I'm
> getting this output:
>
> rule1b: Just found message
> org.apache.camel.component.bean.pojomessage.Person at 16274ea
> rule1a: Just found person Bob
> rule1b: Just found message
> org.apache.camel.component.bean.pojomessage.Person at 186b2ca
> rule1a: Just found person Jim
>
> And every once in a while this output:
>
> rule1b: Just found message
> org.apache.camel.component.bean.pojomessage.Person at 1dfee20
> rule1a: Just found person Bob
> rule1a: Just found person Jim
> rule1b: Just found message
> org.apache.camel.component.bean.pojomessage.Person at 14a4067
>
> Thanks for the time guys!!
>
> - Ladd
>
> http://drools.46999.n3.nabble.com/file/n4018685/SalienceTest.java
> SalienceTest.java
> http://drools.46999.n3.nabble.com/file/n4018685/DroolsCamelTestSupport.java
> DroolsCamelTestSupport.java
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Why-does-it-seem-like-salience-is-being-ignored-tp4018669p4018685.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list