Hi,

What is the way to achieve multi-tenancy with OSGI service. I would like to 
design my API without a tenant context per method to concentrate on the 
functional part, but also have an OSGI instance which could be scaled up. I was 
thinking to let the service implementation  decides if the service can be 
shared between multiple tenants or not, and in this later case rely on a 
standard way to bound service instances specifically for a tenant. Does 
configuration admin can help with this?
For example, a service could be configured with multiple PIDs, one for shared 
configuration and one factory configuration for tenant specific configuration 
and then filter references in component, does that could work? Is there some 
good practice for multi tenancy in OSGI?

Thanks,
Clément.
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to