Hi Nathan, thank you very much!!<br><br><br><div class="gmail_quote">2011/6/23 Nathan Bell <span dir="ltr">&lt;<a href="mailto:Nathan.Bell@pharmacyonesource.com">Nathan.Bell@pharmacyonesource.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">The Drools Fusion documentation has a good explanation of how to define an event, including the use of the @timestamp attribute.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><a href="http://docs.jboss.org/drools/release/5.2.0.Final/drools-fusion-docs/html/ch02.html#d0e184" target="_blank">http://docs.jboss.org/drools/release/5.2.0.Final/drools-fusion-docs/html/ch02.html#d0e184</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b>On Behalf Of </b>Lavoisier Farias<br>
<b>Sent:</b> Thursday, June 23, 2011 11:45 AM<br><b>To:</b> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br><b>Subject:</b> [rules-users] usage of @startTimestamp<u></u><u></u></span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Hi everybody,<br><br>I am delepoing an application using Drools to correlate events from a network management system. Can anyone recommend me a good tutorial which teaches how to use real time clock ? I am using the book of  Michal Bali, which is very good indeed. The book examples uses the following code:<br>
<span style="font-family:&quot;Courier New&quot;">clock.advanceTime(<i><span style="color:red">xx seconds</span></i>, TimeUnit.SECONDS);</span><br><br>However, I would like to use the property of an event called <b><i>startTime </i></b>and <b><i>endTime </i></b>which means the time on which the event starts and the time the event finishes. I know there is the property @startTimestamp mentioned at the book. But, where can I find more examples of usage of @startTimestamp in rule files ?<br>
<br>Best Regards,<br><b><br>Lavoisier José Leite Farias</b><br><span style="font-size:7.5pt">Skype: lavoisierfarias<br>Twitter: <a href="http://twitter.com/LavoisierFarias" target="_blank">http://twitter.com/LavoisierFarias</a></span><u></u><u></u></p>
</div></div></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>Abraços,<br>Lavoisier José Leite Farias</b><br><font size="1">Skype: lavoisierfarias<br>Celular: 019-8122-1177<br>Twitter: <a href="http://twitter.com/LavoisierFarias" target="_blank">http://twitter.com/LavoisierFarias</a></font><br>
<br>