Hi there.. this is all about your imports in the Rule.
What's the exact problem that you are getting with the first rule?
Greetings.

On Mon, Apr 25, 2011 at 7:30 PM, kkelleyjr <karl.kelley.jr@gmail.com> wrote:
I have found my issue... So, let me ask a more specific issues...

my rule is failing and I am not quite sure why...

The rule fails when I write:

rule "Message Key Read"
       when
               Message ( type == Message.Type.KEY_READ )
       then
               System.out.println("Key Read Type");
end

but work with:


rule "Message Key Read"
       when
               Message ( type == Type.KEY_READ )
       then
               System.out.println("Key Read Type");
end

seems like a more scoped should work, but does not... Any Idea why not...
Also, would anyone like me to set up write up some notes what it took me to
solve all my issues in this post? If anyone would like that I will look to
set something up to show how I got this working, for my simple example...

Thank you...


--
View this message in context: http://drools.46999.n3.nabble.com/Need-help-setting-up-Drools-Server-using-Maven-tp2853035p2863431.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
 - CTO @ http://www.plugtree.com 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -