Hi Sajith, Thanks for quick response. I'll try this. Thanks
*Dinesh J. Weerakkody* Senior Software Engineer WSO2 Inc. lean | enterprise | middleware M : +94 727 868676 | E : [email protected] | W : www.wso2.com On Wed, Aug 10, 2016 at 2:19 PM, Sajith Ravindra <[email protected]> wrote: > Hi Dinesh, > > I'm afraid you can't do that in the event receiver itself. Event receivers > will pass all the events for processing without doing any filtering. > > You can do this with a simple Execution plan. Please refer[1] on the regex > extension for siddhi. > > [1] - https://docs.wso2.com/display/CEP420/Siddhi+Extensions# > SiddhiExtensions-regexregex > > Thanks > *,Sajith Ravindra* > Senior Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 77 2273550 > blog: http://sajithr.blogspot.com/ > <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab> > > On Wed, Aug 10, 2016 at 11:30 PM, Dinesh J Weerakkody <[email protected]> > wrote: > >> Hi, >> >> Is it possible to validate the incoming data stream values in DAS? for >> example let's say I have a stream which has date as a attribute. I need to >> validate the date format with a regex and ignore the event if the format >> doesn't match. Can we do something like this in WSO2 DAS event receivers? >> >> Thanks >> >> *Dinesh J. Weerakkody* >> Senior Software Engineer >> WSO2 Inc. >> lean | enterprise | middleware >> M : +94 727 868676 | E : [email protected] | W : www.wso2.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
