Oops, sorry, I clean overlooked the "live" in your post. Blind spot.<br><br>Sometimes, events aren't retracted because there's some rule that has an "infinite" backward reach in time. Are the retracted and the remaining events of the same type and flavour, e.g., by entry-point?<br>
<br>Old events disappearing after insertion after the service has been interrupted might be due to the engine running with a real-time clock. Any form of "playback" with inserted events being time-stamped back in the past should run a virtual clock. If your events are time-stamped by some other agent than the Engine itself, you can advance the virtual clock according to these timestamps - the clock will then, eventually, catch up with the clock of the time-stamping agent.<br>
<br>-W<br><br><br><br><div class="gmail_quote">On 1 November 2011 18:28, Robert Crawford <span dir="ltr"><<a href="mailto:crawford@kloognome.com">crawford@kloognome.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My terms are likely incorrect, but:<br>
<br>
-<br>
Section 4.3.3.2.2. Live Querries:<br>
<br>
We have now complimented this with Live Querries, which has a listener<br>
attached instead of returning an iterable result set. These live querries<br>
stay open creating a view and publish change events for the contents of this<br>
view. So now you can execute your query, with parameters and listen to<br>
changes in the resulting view.<br>
-<br>
<br>
The listener is not being called for every event, as I'd expect it to be<br>
called.<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Live-Queries-and-Expired-Events-tp3469198p3471324.html" target="_blank">http://drools.46999.n3.nabble.com/Live-Queries-and-Expired-Events-tp3469198p3471324.html</a><br>
</font><div><div></div><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>