Hi Susinda,

Try this,

messageContext.getEntry("conf:/foo");

Thanks,
Jeewantha




On Thu, Mar 20, 2014 at 11:18 PM, Susinda Perera <[email protected]> wrote:

> Any code examples on $subject? And best-practices etc..
>
> I have tried with org.wso2.carbon.mediation.registry.WSO2Registry but it
> gives following exception
> java.lang.NullPointerException: Tenant domain has not been set in 
> CarbonContext
> when executing Resource resource =  registry.getResource(key);
>
> Any ideas?
>
>
> Thanks
> /Susinda
>
> --
> *Susinda Perera*
> Software Engineer
> Mobile:(+94)716049075
>
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Jeewantha Dharmaparakrama
Software Engineer; WSO2, Inc.; http://wso2.com/
Phone : (+94) 774726790
Skype : prasad.jeewantha
LinkedIn : http://www.linkedin.com/in/jeewanthad
Twitter: https://twitter.com/jeewamp
Blog: http://jeewanthad.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to