[rules-users] usage of @startTimestamp

Lavoisier Farias lavoisier at gmail.com
Thu Jun 23 14:45:14 EDT 2011


Hi everybody,

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:
clock.advanceTime(*xx seconds*, TimeUnit.SECONDS);

However, I would like to use the property of an event called *startTime *and
*endTime *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 ?

Best Regards,
*
Lavoisier José Leite Farias*
Skype: lavoisierfarias
Twitter: http://twitter.com/LavoisierFarias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110623/8152e57b/attachment.html 


More information about the rules-users mailing list