[rules-users] not matches

RichardA Richard.Ambridge at sun.com
Wed Dec 16 11:54:47 EST 2009


Ok, ignore this, found that previously the ^TEST never matched. Its just now
with fusion my rules are looping more.

Sorry to spam.


RichardA wrote:
> 
> 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-tp92276p92320.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list