I have some problems by configurating flow, here is my spring config: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:drools="http://drools.org/schema/drools-spring" xmlns:camel="http://camel.apache.org/schema/spring" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://drools.org/schema/drools-spring http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-container/drools-spring/src/main/resources/org/drools/container/spring/drools-spring-1.0.0.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<drools:resource id="r1" source="file:///process.rf" type="DRF"/> <drools:resource id="r2" source="file:///rule1.rs" type="DRL"/> <drools:resource id="r3" source="file:///rule2.rs" type="DRL"/> <drools:resource-change-scanner id="scanner" interval="10" /> <drools:ksession id="ksession" type="stateful" kbase="kbase"/> <drools:kagent id="agent" kbase="kbase" new-instance="true"> <drools:resources> <drools:resource ref="r1"/> <drools:resource ref="r2"/> <drools:resource ref="r3"/> </drools:resources> </drools:kagent> <drools:kbase id="kbase"> <drools:resources> <drools:resource ref="r1"/> <drools:resource ref="r2"/> <drools:resource ref="r3"/> </drools:resources> </drools:kbase> </beans> If i remove my flow from the kbase, i wount find it: ksession.startProcess("someId") - throws notFoundException if i remove my rules from the base, happens nothing when i call: ksession.fireAllRules() if i move away all resources from agent, nothing happens when i change my rule file. any help is appreciated. -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-with-Spring-Batch-tp1488585p1517906.html Sent from the Drools - User mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users