[rules-users] accumulate Functions with self coded classes as result type

Andre morpheusandre at web.de
Tue Jul 12 11:56:18 EDT 2011


THX
what is that ? 
VM memory ? or something special to drools ?
ERROR Caused by: [org.apache.camel.RuntimeCamelException -
org.drools.RuntimeDroolsException: Unexpected exception executing action
org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteExpireAction at 1f66f50]

thats my config
drools:grid-node id="node1"/>          
   <drools:kbase id="kbase1" node="node1">
   <drools:resources>
    <drools:resource type="DRL"
source="classpath:META-INF/spring/test.drl"/> 
    </drools:resources>
    <drools:configuration>
             <drools:mbeans enabled="true" /> 
             <drools:event-processing-mode mode="STREAM" /> 
             <drools:accumulate-functions>
             	<drools:accumulate-function
name="countMatchingSubjectIdsInRequest" ref="countsubjectIds"/>
             	<drools:accumulate-function
name="countMatchingResourcesInRequest" ref="countResourceID"/>
             	<drools:accumulate-function
name="countMatchingAnalysedResourcesInRequest" ref="analyseResources"/>
             </drools:accumulate-functions>
    </drools:configuration>
  </drools:kbase>
  <drools:ksession id="ksession1" type="stateful" kbase="kbase1"
node="node1">
  
   	<drools:configuration>
   		<drools:keep-reference enabled="false"/>
   		<drools:clock-type type="REALTIME"/>
   	</drools:configuration>
   	 <drools:script>
     <drools:fire-until-halt/>
   </drools:script>
   </drools:ksession>

--
View this message in context: http://drools.46999.n3.nabble.com/accumulate-Functions-with-self-coded-classes-as-result-type-tp3162593p3162868.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list