One option is to send a special "cleanup" trigger fact and add a rule:
rule "Cleanup"
when
$c : Cleanup()
$o : Object( this != $c )
then
retract( $o );
end
You'll then need to retract the Cleanup fact. For example, you might use
another rule or make it an event with expiration
--
View this message in context:
http://drools.46999.n3.nabble.com/rules-users-drools-camel-server-Retract...
Sent from the Drools: User forum mailing list archive at
Nabble.com.