I have a question:
How to make the Rule Engine (Drools 3) to fire a rule in such a way.
For example:
if I have a rule just like this:
rule "test 1" when test1 : String() test2 : String() then System.out.println( "test1 = "+test1 ); System.out.println( "test2 = "+test2 ); end
workingMemory.assertObject("STRING1"); workingMemory.assertObject("STRING2"); workingMemory.fireAllRules();
hi every one,
I have found the answer about my question, you can see it at this URL http://jira.codehaus.org/browse/DROOLS-365