[rules-users] Destroy the events
samsonrithvik
samsonrithvik.cts at gmail.com
Thu Aug 8 02:10:11 EDT 2013
How do i destroy the events in dsl ..when i no longer needed it
for example
this is my sample .drl file
rule "setting the event"
no-loop
when
$msg : Message($eventName:eventName ,$host: hostName) from entry-point
myevent
not $event:Myevent(eventName == $eventName,hostName == $host)
then
insert(new Myevent($eventName,$host));
end
Now how do i destroy the event Myevent when i'm not getting any message from
that entry-point after certain amount of time
--
View this message in context: http://drools.46999.n3.nabble.com/Destroy-the-events-tp4025418.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list