I realized that there are some mistakes in my previous post with the times:
1. First example:
LHS: $e: Message (Message(this after [0, 10sec] $e), where Message has an
@timestamp
1.1.
insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
wait(6sec);
insert(new Message(NOW()));
// NOT Activated
1.2.
insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
wait(2sec);
insert(new Message(NOW()));
// Activated at 11:00:05am
2. First example:
LHS: $e: Message not (Message(this after [0, 10sec] $e), where Message has
an @timestamp
insert(new Message(NOW().subtract(5sec))); <-- 11:00:00am
// Activated at 11:00:10am
Has anybody an idea with example #2 is not working?
--
View this message in context:
http://drools.46999.n3.nabble.com/Fusion-Insert-Events-with-timestamp-in-...
Sent from the Drools: User forum mailing list archive at
Nabble.com.