Hi Davide,
thanks for looking into this.
Message is a class defined outside of the DRL, its source is below.
NiceMessage is defined only inside the DRL.
public class Message {
public static final int HELLO = 0;
public static final int GOODBYE = 1;
private String message;
private int status;
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public int getStatus() {
return this.status;
}
public void setStatus(int status) {
this.status = status;
}
}
Best regards,
Michal
On Thu, Mar 1, 2012 at 11:03 AM, Davide Sottara <dsotty(a)gmail.com> wrote:
This is odd... I tried to reproduce your issue but I didn't get
any
exception. Trying to react to any "NiceMessage" also produces the expected
results...
Now, I see that you do Message.setMessage(), so I assume that Message and
NiceMessage are classes defined outside the DRL.. Could you send them so
that I can take a look?
Thanks
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-traits-don-more-than-3-pojo...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users