On 8 July 2011 09:51, Andre <morpheusandre@web.de> wrote:
ok in the xsd version 1.3  there it is
&lt;bean class=&quot;&lt;functionclass&gt;" id="id">
...
 <drools:accumulate-functions>
               <drools:accumulate-function
name="countMatchingRequestSubjectIds" ref="id"/>
 </drools:accumulate-functions>

another thing is:
the docu says implement
org.drools.runtime.rule.TypedAccumulateFunction, which is not correct
the drools  requires
org.drools.base.accumulators.AccumulateFunction;
 be careful there is also an
org.drools.runtime.rule.AccumulateFunction!

You should use org.drools.runtime.rule.AccumulateFunction which is in the stable part of the API.
-W

 

--
View this message in context: http://drools.46999.n3.nabble.com/sliding-window-combination-tp3132340p3151094.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users