Samuel Tauil created DROOLS-1075:
------------------------------------
Summary: kie-spring component does not execute batch commands
Key: DROOLS-1075
URL:
https://issues.jboss.org/browse/DROOLS-1075
Project: Drools
Issue Type: Bug
Components: integration
Affects Versions: 6.3.0.Final
Environment: Versions:
Drools - 6.3.0.Final-redhat-7
Spring - 4.0.2.RELEASE
Camel - 2.15.1.redhat-621084
Reporter: Samuel Tauil
Assignee: Mario Fusco
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:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/953263b9f6bf7f9...
But the rule tests if it's null:
https://github.com/droolsjbpm/droolsjbpm-integration/blob/953263b9f6bf7f9...
So this error never raises.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)