PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/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
 6<beans xmlns="http://www.springframework.org/schema/beans"
 7	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:drools="http://drools.org/schema/drools-spring"
 8	xmlns:camel="http://camel.apache.org/schema/spring"
 9	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
10                           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">
11	
12
13	<drools:resource id="resource1" type="DRL" source="classpath:drools/JCG.drl" />
14
15<!--	<drools:resource id="resource2" source="classpath:drools/XXX.xls" type="DTABLE">-->
16<!--        <drools:decisiontable-conf input-type="XLS" worksheet-name="Tables_2" />-->
17<!--    </drools:resource>-->
18	
19	
20	<drools:kbase id="kbase1">
21		<drools:resources>
22			<drools:resource ref="resource1" />
23		</drools:resources>
24
25		<drools:configuration>
26			<drools:mbeans enabled="true" />
27			<drools:event-processing-mode mode="STREAM" />
28		</drools:configuration>
29	</drools:kbase>
30<!--	<drools:ksession id="ksession1" type="stateless" name="stateless1" kbase="kbase1"  />-->
31<!--	<drools:ksession id="ksession2" type="stateful"  kbase="kbase1" />-->
32</beans>