Thanks Nirmal and Geeth for quick response.

Thanks
Godwin


On Tue, Aug 2, 2016 at 1:31 PM, Geeth Munasinghe <[email protected]> wrote:

> AFAIK, get-property methods search even in registry if the value is not
> available is in the message context. Registry search is an expensive
> operation. But $ctx only checks in message context, does not check in the
> registry.
>
> On Tue, Aug 2, 2016 at 11:27 AM, Godwin Shrimal <[email protected]> wrote:
>
>> Hi All,
>>
>> Why are we recommending to Use dollar context (i.e. $ctx) instead of
>> using the get property in the documentation [1]. Can someone explain the
>> reason for this ?
>>
>> [1] https://docs.wso2.com/display/ESB481/Best+Practices+for+Mediation
>>
>> Thanks
>> Godwin
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>> <http://wso2.com/signature>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *G. K. S. Munasinghe*
> *Senior Software Engineer,*
> *WSO2, Inc. http://wso2.com <http://wso2.com/> *
> *lean.enterprise.middleware.*
>
> email: [email protected]
> phone:(+94) 777911226
>
> <http://wso2.com/signature>
>



-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to