What does your declaration of Message look like?
It should look something like this:
public class Message {
String type;
public Message() {}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
Your not going to get very far without understanding the differences between
facts and globals. I recommend looking at some tutorials.
--
View this message in context:
http://drools.46999.n3.nabble.com/Pass-Parameter-to-drools-file-dynamical...
Sent from the Drools: User forum mailing list archive at
Nabble.com.