@Minudika, I believe you are aware about the property 'fail.on.missing.attributes'. Let's decide whether to set null or throw exception as per the value that defined for this property..
Thanks, Mohan On Sun, Jul 9, 2017 at 4:13 PM, Sajith Ravindra <[email protected]> wrote: > either we should, assign a default value or throw and exceptions > > AFAIU, we can proceed with out and url for sources there for it will not > be possible to assign null and proceed. > > 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 Sun, Jul 9, 2017 at 4:04 PM, Minudika Malshan <[email protected]> > wrote: > >> Hi, >> >> In source, when a required transport property *(eg. trp:uri)* is not >> present in the source configuration, should we assign null for that >> property and proceed or should we throw an exception? >> >> Thanks and regards! >> >> -- >> *Minudika Gammanpila* >> Software Engineer - WSO2 >> >> Email : [email protected] >> Mobile : +94715659887 <+94%2071%20565%209887> >> Web : http://wso2.com <http://wso2.com/signature> >> > > -- *V. Mohanadarshan* *Associate Tech Lead,* *Data Technologies Team,* *WSO2, Inc. http://wso2.com <http://wso2.com> * *lean.enterprise.middleware.* email: [email protected] phone:(+94) 771117673
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
