That bean isn't used any more. Spring has undergone a lot of
improvements. All interaction with drools should be done via the custom
namespace elements, see the release notes for more details
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...
And here are sample xml from unit tests:
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-container/drools-...
Mark
On 26/07/2010 21:29, tolitius wrote:
No. This is a different one:
<bean id="knowledgeProvider"
class="org.drools.container.spring.beans.persistence.JPAKnowledgeServiceBean">
<property name="entityManagerFactory" ref="entityManagerFactory"
/>
<property name="transactionManager" ref="txManager" />
<property name="variablePersisters">
<util:map>
... ...
</util:map>
</property>
<property name="kbase">
<drools:kbase id="kbase" node="node1">
<drools:resource type="DRF"
source="classpath:./META-INF/process/ultra-simple-process.rf" />
<drools:resource type="DRL"
source="classpath:./META-INF/rule/simple-rule.drl" />
/>
</drools:kbase>
</property>
</bean>
This works in "5.1.0 M2", it does not in "5.1.0 CR1 +"
/Anatoly