[jboss-jira] [JBoss JIRA] (DROOLS-3093) Necessary configuration information is missing when running rules engine in active mode

Mario Fusco (Jira) issues at jboss.org
Thu Oct 11 13:28:00 EDT 2018


     [ https://issues.jboss.org/browse/DROOLS-3093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco updated DROOLS-3093:
--------------------------------
    Fix Version/s: 7.13.0.Final


> Necessary configuration information is missing when running rules engine in active mode
> ---------------------------------------------------------------------------------------
>
>                 Key: DROOLS-3093
>                 URL: https://issues.jboss.org/browse/DROOLS-3093
>             Project: Drools
>          Issue Type: Enhancement
>          Components: docs
>    Affects Versions: 6.5.0.Final, 7.12.0.Final
>            Reporter: Lyle Wang
>            Assignee: Mario Fusco
>            Priority: Major
>             Fix For: 7.13.0.Final
>
>
> When following this doc page to run rules engine in active mode
> https://docs.jboss.org/drools/release/6.5.0.Final/drools-docs/html/ch07.html#d0e7301
> If application code opens another thread and do ksession.insert(fact) then it's possible to have threading issues.
> https://access.redhat.com/solutions/3645752
> Requesting to add suggestion to highlight "ThreadSafeTrackableTimeJobFactoryManager" should be used in multithreading environment, code example:
> -------------------------------------------------------------
> KieSessionConfiguration kconf = KnowledgeBaseFactory.newKnowledgeSessionConfiguration();
> ((org.drools.core.SessionConfiguration)kconf).setTimerJobFactoryType( TimerJobFactoryType.ok );
> KieSession ksession = kContainer.newKieSession("ksession-name", kconf);
> -------------------------------------------------------------
> Following code change has been made to update the default implementation to use ThreadSafeTrackableTimeJobFactoryManager :
> https://github.com/kiegroup/drools/commit/92623e2435401db4f80eaf5e3e804c13ac776c0d



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list