I think that if you want the automatic event lifecycle management to delete
your events, you first need to notify the engine when an event is old enough
to realise it should be removed. This has to be managed adding the @expires
annotation to the event declaration:
declare Notification
@role( event )
@expires ( 1h45m )
end
That will let the engine know it should remove the event from the working
memory (if no rule needs it) after an hour and 45 minutes. Please check the
doc about @expires in the following link:
http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/...
<
http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/...
Cheers,
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp40...
Sent from the Drools: User forum mailing list archive at
Nabble.com.