Setting the clock is a session configuration option, which means that
it has to be set at session instantiation time.

You might try to continue to use the pseudo-clock until you have finished
the replay and mimick the realtime clock with it, although it might need
some experimenting to learn when and how to advance the pseudo-clock:
before and/or after insertions, every n ms,...

-W

On 24/09/2013, amarok <m...@alexander-wolf.net> wrote:
> I am still stuck with this. Is there any way to replay events into a
> session
> and then getting into realtime mode?
>
>
> amarok wrote
>> Drools 5.5
>>
>> Hey guys,
>>
>> Is it possible to replace the session clock of an existing stateful
>> knowledge session (STREAM mode) while it is running or at least by
>> pausing
>> and restarting it?
>> I need to feed old events into the session to restore a certain session
>> state before switching the sessions to "realtime" mode and continue with
>> new incoming events...
>>
>> A code snippet would make me very happy ;)
>>
>> - Alex
>> _______________________________________________
>> rules-users mailing list
>
>> rules-users@.jboss
>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-replace-session-clock-at-runtime-tp4026090p4026112.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to