]
Mario Fusco resolved DROOLS-2556.
---------------------------------
Resolution: Won't Fix
Not possible to deploy kjar with rule including timer
-----------------------------------------------------
Key: DROOLS-2556
URL:
https://issues.jboss.org/browse/DROOLS-2556
Project: Drools
Issue Type: Bug
Affects Versions: 7.7.0.Final
Reporter: Anton Giertli
Assignee: Mario Fusco
Attachments: kjar.zip, reproducer.zip
When KJAR contains a rule with timer:
{code:java}
package com.sample;
rule "Timer to stop long running rules"
timer (int: 150s)
ruleflow-group "whatever"
salience 99
when
then
System.err.println("**** Exit rule engine ****");
drools.halt();
end
{code}
It's not possible to deploy it with KIE Services API
it fails with this error:
https://gist.github.com/agiertli/12fb71e3103dbf493308dc263fdc4607