How to set read / write permissions in ActiveMQ?

I'm new to ActiveMQ, so please bear with me if my question seems dumb: D

I installed activemq on a CentOS machine, and I connect to it for writing to qeueue and from the queue using the admin user (which I don't think is the ideal way). I am wondering if I can create a user to read only read (consumption) from the queue and another user to write only or only to one user who has read and write permissions, so that this user will not be able to delete the queue or do everything that should not do.

I tried youtube and checked the activeemq security documentation that talks about the simplest plugin and tried, but I'm not sure if I am doing the right thing or reading the right resource?

Thanks in advance!

+4
source share
1 answer

ActiveMQ works with various registration and authorization modules, by default it selects the PropertyLoginModule in the karaf area. This is the admin you are talking about. The /etc/users.properties file contains these users and groups.

For authorization, you have plugins in the activemq.xml file, which can provide fine-grained control over queues, topics, tips and temporary queues.

, // , , , wildchars ( AMQ doc).

users.properties .

LDAP SSL.

+1

All Articles