What does your thread do after it returns from fireAllRules?
My thread sleeps five minutes and then it fires again: (intervalLength =
5*60*1000):
@Override
public void run(){
while(!end){
try {
Thread.sleep(intervalLength);
int nRules = ksession.fireRules();
if(nRules > 0){
logger.debug(nRules + " reglas disparadas.");
}
}
catch (InterruptedException e) {
logger.error(e);
}
}
}
Well, if the events arrive on schedule it should be OK, but what about
the
delayed arrivals?
Ah, ok...
Thank you, again.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Question-about-collec...
Sent from the Drools - User mailing list archive at
Nabble.com.