In drools5 I have taken the standard Eclipse demo project, and changed the
Sample.drl to contain only the following:


package com.sample
 
import com.sample.DroolsTest.Message;
 
rule "Hello World"
        when
                m : Message( message not matches "^TEST" )
        then
                System.out.println( "adding TEST to message" ); 
                m.setMessage( "TEST set" );
                update( m );
end




When I run this, drools gets into an infinite loop

This used to work in drools4.

Any ideas?
Thanks
-- 
View this message in context: 
http://n3.nabble.com/not-matches-tp92276p92276.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to