Hi Lasantha,

Thank you.


On Mon, Jan 20, 2014 at 2:43 PM, Lasantha Fernando <[email protected]>wrote:

> 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 <[email protected]> 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
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Lasantha Fernando*
> Software Engineer - Data Technologies Team
> WSO2 Inc. http://wso2.com
>
> email: [email protected]
> mobile: (+94) 71 5247551
>



-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to