[rules-users] Fusion, Insert Events with timestamp in the past.

SebastianStehle mail2stehle at gmail.com
Wed Jun 4 11:33:38 EDT 2014


I am really thankful about your patience. Please do not focus on the network
delay so far, there are other processes, which can cause the delay. Perhaps
I will find a better solution here, but I would prefer to understand what is
happing first. 
Can you explain me the following examples?

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))); <-- 11am
wait(6sec);
insert(new Message(NOW()));
// NOT Activated

1.2.
insert(new Message(NOW().subtract(5sec))); <-- 11am
wait(2sec);
insert(new Message(NOW()));
// Activated at 11: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))); <-- 11am
// Activated at 11:10am

Example 1.1 and 1.2 works as expected and my timestamp is respected but not
example 2.

Can you give me some hints about the "hot-deployment" for rules?






--
View this message in context: http://drools.46999.n3.nabble.com/Fusion-Insert-Events-with-timestamp-in-the-past-tp4029843p4029866.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list