I tried the same example in Spring, using the spring modules
JSR 94. It works fine...
Date: Wed, 26 Sep 2007 21:07:54 +0000 (UTC)
From: Brian Enderle <brianke(a)gmail.com>
Subject: [rules-users] eval() not working in Spring environment
Content-Type: text/plain; charset=us-ascii
I am not sure where exactly this problem lies but I can create the following
rule in a Drools project and have it execute as expected but when i use the
exact same rule in my Spring application/environment it does not work.
Boolean performCheck = new Boolean("true");
Within the rule file:
global java.lang.Boolean performCheck;
rule "Display if true"
When I run DroolsTest I get the output of 'true', the value of performCheck,
as I would expect. When I use the same rule in my Spring environment the
fails to execute. I know the gloabl is getting to the rule with a value
of "true" as I have a second rule which always fires and reports the value
Has anyone ever experienced this and if so did you find any solution?
Thanks in advance,