Details
-
Bug
-
Resolution: Done
-
Major
-
6.3.0.Final
-
-
NEW
-
NEW
Description
When defining any type of bean inside the tag kie:batch, seems that nothing gets executed. I added a reference to a bean to be identified by a global variable in a rule and this global always get null.
this is an example of configuration:
<kie:batch>
<kie:set-global identifier="droolsCamelHelper">
<bean class="com.redhat.gpe.coursecompletion.util.DroolsCamelHelper"/>
</kie:set-global>
</kie:batch>
Also looking to the tests in the kie-spring component source code the list is define in the configurations as follows:
But the rule tests if it's null:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/953263b9f6bf7f9fe1df8d984a110d68fd148676/kie-spring/src/test/resources/drl_kiesample/Hal1.drl#L39-L41
So this error never raises.