<p dir="ltr">Hi Sebastian,<br>
As per your last email, your use case sounds very similar to my use case scenario and I would second the suggestion from Wolfgang, switch from realtime to pseudoclock may help. </p>
<p dir="ltr">I think the thread &quot;[rules-users] Question about Fusion pseudoclock&quot; in the mailing list could help, and in my use case scenario I found the following code example *extremely* valuable because I do mostly same</p>

<p dir="ltr"><a href="https://github.com/droolsjbpm/droolsjbpm-contributed-experiments/blob/master/twittercbr/src/main/java/org/drools/examples/twittercbr/TwitterCBROffline.java">https://github.com/droolsjbpm/droolsjbpm-contributed-experiments/blob/master/twittercbr/src/main/java/org/drools/examples/twittercbr/TwitterCBROffline.java</a></p>

<p dir="ltr">I hope this helps you too. <br>
This approach would solve for &quot;network delay issue&quot; but will induce another problem, in case &quot;network&quot; never restores or delay gets outrageous. </p>
<p dir="ltr">Ciao<br>
MM<br>
</p>
<div class="gmail_quote">On 4 Jun 2014 12:00, &quot;SebastianStehle&quot; &lt;<a href="mailto:mail2stehle@gmail.com">mail2stehle@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I see that the update process is not optimal, but can you tell me if my<br>
simple example should work or not?<br>
<br>
We get measurements from sensors. Because of network delay and other<br>
intermediate processes the timestamp of the measurements can be some seconds<br>
behind the time of the insert. In this case the rules with after would not<br>
work correctly as well.<br>
<br>
I am new to drools, so there is a high chance that I make some mistakes.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Fusion-Insert-Events-with-timestamp-in-the-past-tp4029843p4029847.html" target="_blank">http://drools.46999.n3.nabble.com/Fusion-Insert-Events-with-timestamp-in-the-past-tp4029843p4029847.html</a><br>

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>
</blockquote></div>