Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi-tenancy in JMS

Tags:

jms

mq

I have been looking for a multi-tenant JMS provider that supports complete isolation of clients and integrates with WSO2. I have scratched around with Apache ActiveMQ for the last couple of weeks and realized that there may not be any support for multi-tenancy in ActiveMQ.

Which other JMS providers can give this? Also which version of JMS supports multi-tenancy?

like image 425
Sujith Babu Avatar asked Feb 25 '26 08:02

Sujith Babu


1 Answers

JMS is an API and is not designed explicit for multi tenancy. Authentication is done using either simple user/password or some certificate based negotiation.

That does not say multi-tenancy is not supported. However, most brokers requires you to create another broker instance that listen to a port per tenant - (IBM WebSphere MQ, Apache ActiveMQ on Debian/Linux, Apache Artemis, and more). This ensures complete isolation, but requires some manual steps to setup each tenant. There is no way to have 100+ tenants per server with this approach (or prove me wrong!)

You can likely setup some system that simulates tenants using prefixed usernames or similar, but that won't be a real multi-tenant broker.

like image 177
Petter Nordlander Avatar answered Feb 27 '26 01:02

Petter Nordlander