<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>did you check here : http://drools.46999.n3.nabble.com/please-provide-a-rule-for-events-timeout-cases-td3907955.html<br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>De: </b>"dunnlow" &lt;dunnlow@yahoo.com&gt;<br><b>À: </b>rules-users@lists.jboss.org<br><b>Envoyé: </b>Vendredi 10 Août 2012 16:19:33<br><b>Objet: </b>[rules-users] Best design pattern for: Set of events with countdown&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;timers?<br><br>Hi,<br><br>I am receiving events from a group of about 15 different event producers -<br>each with different names (located in the message). &nbsp;I want to make sure<br>that I get at least one event from each of those 15 producers within a<br>pre-determined period of time; the period can be different for each<br>producer. &nbsp;<br><br>I am planning to use a template rule to relate producer name to time period. <br>Then, I'll insert a "myTimoutObject" for each producer (not quite sure yet<br>where/how I'll do that) which will count down from the provided time period<br>and trigger an "alert" condition if they reach zero (and reset whenever a<br>new event from that producer arrives into the ksession). &nbsp;<br><br>Does anyone have experience with a better way to implement this count-down<br>pattern?<br><br>Thanks for any insight,<br>-J<br><br><br><br>--<br>View this message in context: http://drools.46999.n3.nabble.com/Best-design-pattern-for-Set-of-events-with-countdown-timers-tp4019091.html<br>Sent from the Drools: User forum mailing list archive at Nabble.com.<br>_______________________________________________<br>rules-users mailing list<br>rules-users@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/rules-users<br></div><br></div></body></html>