• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

ActiveMQ and 'admin' authorization

I am reading this link:


Which describes admin authority as:

You can lazily create the destination if it does not yet exist. This allows you fine grained control over which new destinations can be dynamically created in what part of the queue/topic hierarchy 

Open in new window

I assume that this means that admin authority is the authority to create queues  (is that correct), which would explain why I can create queues from the console when I log in as admin/admin.

What does it mean to 'lazily create a destination'.

Is there anything else I am missing other than the creation of queues on the admin authority

What does
Anthony Lucia
Anthony Lucia
1 Solution
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Yeah, the use of the word 'lazily' here is a bit redundant, as all queues in ActiveMQ you could consider as lazily created, ie. you don't define somewhere in some ActiveMQ configuration what queues should be present, instead they are created on the fly as clients attempt to produce to or consume from a queue.

So what it is basically saying, is that say a user only has write permission to a queue, that user could produce message (ie. write) to that queue IF it already exists otherwise they would get an error. If they had both write & admin permissions, IF the queue didn't exist it would be created automatically before the sent the message to it.

Does that explain things?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now