Re: [rules-users] Drools with Spring Batch

2010-10-04 Thread KiranP

hi,
have you figured out whats the problem.if u have then plz can u share
it???

-
Keep Working 
KiranP
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-with-Spring-Batch-tp1488585p1634170.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


Re: [rules-users] Drools with Spring Batch

2010-09-17 Thread Evert Penninckx

Check the drools introduction at 
http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-introduction/html/ch02.html#d0e63
chapter 2.1.2.2. 

It has a nice configuration example. 

-Evert
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-with-Spring-Batch-tp1488585p1516156.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


Re: [rules-users] Drools with Spring Batch

2010-09-17 Thread smogstate

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


[rules-users] Drools with Spring Batch

2010-09-16 Thread Manav
Hi, 

I am trying to integrate Drools with Spring Batch. Is there some documentation 
that could throw some light on the configuration involved in the same. 


Regards,
Manav


  

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users