/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/resources/META-INF/spring/applicationContext-drools.xml

http://jcg-andygene-web.googlecode.com/ · XML · 32 lines · 20 code · 7 blank · 5 comment · 0 complexity · 9a7e5af841603ac4ac0cc47bd281ad29 MD5 · raw file

  1. #set( $symbol_pound = '#' )
  2. #set( $symbol_dollar = '$' )
  3. #set( $symbol_escape = '\' )
  4. <?xml version="1.0" encoding="UTF-8"?>
  5. <beans xmlns="http://www.springframework.org/schema/beans"
  6. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:drools="http://drools.org/schema/drools-spring"
  7. xmlns:camel="http://camel.apache.org/schema/spring"
  8. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  9. 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">
  10. <drools:resource id="resource1" type="DRL" source="classpath:drools/JCG.drl" />
  11. <!-- <drools:resource id="resource2" source="classpath:drools/XXX.xls" type="DTABLE">-->
  12. <!-- <drools:decisiontable-conf input-type="XLS" worksheet-name="Tables_2" />-->
  13. <!-- </drools:resource>-->
  14. <drools:kbase id="kbase1">
  15. <drools:resources>
  16. <drools:resource ref="resource1" />
  17. </drools:resources>
  18. <drools:configuration>
  19. <drools:mbeans enabled="true" />
  20. <drools:event-processing-mode mode="STREAM" />
  21. </drools:configuration>
  22. </drools:kbase>
  23. <!-- <drools:ksession id="ksession1" type="stateless" name="stateless1" kbase="kbase1" />-->
  24. <!-- <drools:ksession id="ksession2" type="stateful" kbase="kbase1" />-->
  25. </beans>