[rules-users] Pass Parameter to drools file dynamically

rjr201 rich.j.riley at gmail.com
Thu Mar 14 13:28:33 EDT 2013


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-dynamically-tp4022820p4022829.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list