[
https://jira.jboss.org/jira/browse/JBRULES-1434?page=com.atlassian.jira.p...
]
Pablo Nussembaum commented on JBRULES-1434:
-------------------------------------------
In the xml below you can see a spring configuration using a drools namespace to create a
kbase and sessions through a service manager.
<bean id="sm1"
class="org.drools.vsm.local.ServiceManagerLocalClient" />
<drools:kbase id="kbase1" serviceManager="sm1">
<drools:resource type="DRL"
source="classpath:org/drools/container/spring/testSpring.drl"/>
<drools:resource
source="classpath:org/drools/container/spring/IntegrationExampleTest.xls"
type="DTABLE">
<drools:decisiontable-conf input-type="XLS"
worksheet-name="Tables_2" />
</drools:resource>
</drools:kbase>
<drools:ksession id="ksession1" type="stateless"
name="stateless1" kbase="kbase1" serviceManager="sm1"/>
<drools:ksession id="ksession2" type="stateful"
kbase="kbase1" serviceManager="sm1"/>
Drools Spring
-------------
Key: JBRULES-1434
URL:
https://jira.jboss.org/jira/browse/JBRULES-1434
Project: Drools
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: All
Reporter: Mark Proctor
Assignee: Mauricio Salatino
Fix For: 5.1.0.M2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira