[jboss-jira] [JBoss JIRA] (DROOLS-2556) Not possible to deploy kjar with rule including timer

Anton Giertli (JIRA) issues at jboss.org
Wed May 16 10:42:00 EDT 2018


Anton Giertli created DROOLS-2556:
-------------------------------------

             Summary: 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
            Reporter: Anton Giertli
            Assignee: Edson Tirelli
         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



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list