On 01/06/2011 21:37, drdaveg wrote:
A common issue that I am looking into is setting the execution date
to test
future or legacy rules (i.e., with dates that are not the system date.) A
number of users have posted about TimeMachine, TimeServices and the perils
of setting the system date - but a JIRA lists TimeMachine as being remove
and TimeServices doesn't look like it has a setter for the execution time.
What is the API for simulating the date to be compared against effective and
expiration dates of rules that can be used by stateful sessions?
in upcoming drools
5.2, see CR1. TimeMachine was removed. Everything
should now work around the session clock, where it can use the system
clock or a pseudo clock.
Mark
--
View this message in context:
http://drools.46999.n3.nabble.com/TimerService-vs-TimeMachine-and-date-ef...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users