Hi Amila, If you are using the OSGi service, you need to pass the tenant id as a parameter. Anyway why do you need to use the OSGi service? You can get an instance of the registry from the CarbonContext right?
Thanks, Senaka. On Mon, Jun 27, 2011 at 3:42 PM, Amila Suriarachchi <[email protected]> wrote: > hi, > > Currently above functionality is not working since Qpid compoent > RegistryClient always get the supper tenant registry. > > eg UserRegistry registry = registryService.getGovernanceSystemRegistry(); > (RegistryClient.java 110) > > We can simply fix this by passing the tenant ID which can be found from the > tenant domain available with the user name. > > But for deleteQueue and deleteSubscription there is no user associated. > These methods are called when closing subscribers, consumers etc ... > > So any Idea of fixing this for above case ? > > thanks, > Amila. > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
