Sorry. Ignore my response, I replied before I saw the entire thread. On Thu, Oct 30, 2014 at 2:10 PM, Seshika Fernando <sesh...@wso2.com> wrote:
> Hi Nishali, > > Couple of questions. > 1. Have you added the SiddhiExtension Annotation to your Factory class? > 2.Can you provide your siddhi query syntax which uses this function? > > seshika > > On Thu, Oct 30, 2014 at 1:30 PM, Nishali Wijesinghe <nisha...@wso2.com> > wrote: > >> Hi, >> >> I'm trying to write a siddhi custom output attribute aggregator for CEP. >> I wrote the following 2 classes and created the jar file with extension >> Name=ext1 and function Name=StdDev_sample. >> StdDevOutputAttributeAggregatorSample >> StdDevOutputAttributeAggregatorSampleFactory >> >> And then I added the jar file to <CEP_HOME>/repository/components/lib and >> then added the fully qualified class name as >> "org.wso2.siddhi.extension.StdDevOutputAttributeAggregatorSampleFactory" to >> <CEP_HOME>/repository/conf/siddhi. >> >> But when i try to use the extension in CEP i get the following error. >> >> No extension exist for OutputAttributeExtension{extensionName='ext1', >> functionName='StdDev_sample', rename='std'} >> >> Thank you. >> >> -- >> Nishali Wijesinghe >> Intern - Engineering >> WSO2, Inc. >> lean.enterprise.middleware. >> Tel: +94716913495 >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev