Hi Maninda,
Yes. We can extend current functionality to give default value if registry
value is not exist like ${conf:/aaa/example, "admin"} in a future release.
Please create appropriate tracking ticket for that.
Regards,
Gihan
On Fri, May 3, 2013 at 12:37 PM, Maninda Edirisooriya <[email protected]>wrote:
> Hi Gihan,
>
> At present we can access a value from registry in a Hive script such as
> ${conf:/aaa/example} . When that resource is not defined in registry an
> exception is thrown. I think it is better if a default value can be used
> when the resource is not available.
>
> Thank you.
> *
> Maninda Edirisooriya*
> Software Engineer
> *WSO2, Inc.
> *lean.enterprise.middleware.
>
> *Blog* : http://maninda.blogspot.com/
> *Phone* : +94 777603226
>
--
---
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev