Maybe you will have to import Message.Type.XML in the drl file and
then
use it.
Hello,
I've these imports :
import com.pv.rules.beans.Message;
import com.pv.rules.beans.Message.Type.XML;
but it tell me :
Unable to create restriction '[QualifiedIndentifierRestr: ==
com.pv.rules.beans.Message.Type.XML ]' for field 'type' in the rule
'Contexte1' : [Rule name=Contexte1, agendaGroup=MAIN, salience=0,
no-loop=false]
Rule Compilation error : [Rule name=Contexte1, agendaGroup=MAIN,
salience=0, no-loop=false]
com/pv/rules/Rule_Contexte1_0.java (2:63) : The import
com.pv.rules.beans.Message.Type.XML cannot be resolved
com.pv.rules.beans.Message.Type.XML
Maybe, it's not possible to use enum in drl :-(
Thanks :-)