The Drools Fusion documentation has a good explanation of how to define an event, including the use of the @timestamp attribute.
http://docs.jboss.org/drools/release/5.2.0.Final/drools-fusion-docs/html/ch02.html#d0e184 From: [email protected] [mailto:[email protected]] On Behalf Of Lavoisier Farias Sent: Thursday, June 23, 2011 11:45 AM To: [email protected] Subject: [rules-users] usage of @startTimestamp 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
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
