Hi Chamila,

Are you adding and validating the query via UI? There was a bug in UI which
was fixed by Rajeev [1].

You might have to apply this patch to get UI validation working.

[1] https://wso2.org/jira/browse/CEP-638

Thanks,
Lasantha



On 20 January 2014 14:27, Chamila Wijayarathna <cham...@wso2.com> wrote:

> Hi alI,
>  downloaded sample custom function at [1] and exported it as a jar using
> Eclipse. I followed all steps given in [2], but when I tried to use that
> function in an execution plan using following query it gives error saying
> No extension exist for OutputAttributeExtension{extensionName='custom',
> functionName='plus', rename='totalCount'}
>
> query -
>  from inputoo
> select SrcIp, custom:plus(size, 100) as totalCount
> insert into testOut;
>
> How can I make this working?
>
> 1. https://svn.wso2.org/repos/wso2/scratch/mohan/function-extension.zip
> 2. http://docs.wso2.org/display/CEP300/Writing+a+Custom+Function
>
> Thank you.
>
> --
> *Chamila Wijayarathna*
> Engineering Intern,
> WSO2 Inc.
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to