Hi,
I need to use wild card chars matching in .drl file.
(Assume field filename has data as "XYZ-888-10022008")
If the filename contains string "888" in it
then target Queue will be "jms://INBOUND.888.EDI"
I am writing a rule as follows:
rule "Test 888"
no-loop
when
m: Message( fileName matches "*888*", message : message )
then
System.out.println( "In EATech.drl File" );
m.setTargetEdiQ("jms://INBOUND.888.EDI");
update( m );
end
But its not working. Error is "Dangling meta character '*' near index 0
*888*"
If anyone has used wild card chars in .drl file please respond
--
View this message in context:
http://www.nabble.com/Wild-card-characters-in-.drl-file-tp15306359p153063...
Sent from the drools - user mailing list archive at
Nabble.com.