The issue occurs only when fireUntilHalt() is launched in Drools-Spring
integration, like this,

    <drools:ksession id="ksession" type="stateful" name="ksession"
kbase="kbase" >    
        <drools:batch>
            <drools:set-global identifier="droolsServiceUtil"
ref="droolsServiceUtil" />
            *<drools:fire-until-halt />*
        </drools:batch>
    </drools:ksession>

When I invoke the same method in Java below, the issue doesn't show up.
Could it be a bug in Drools-Spring integration?
    @Async
    public void fireRulesUtilHalt() 
    {
            try {
                getKsession().fireUntilHalt();  
            } catch ( ConsequenceException e ) {
                throw e;
            }
    }


--
View this message in context: 
http://drools.46999.n3.nabble.com/Different-Thread-Handling-between-fireAllRules-and-fireUntilHalt-tp3985748p3987310.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to