> Hi Team,
Actually, this is a community 😊

> 1. When are temporary queues used ?
Most common is for request-reply patterns.
Where the reply-message is returned on a temporary queue, for which the 
queue-name is passwd in the request message (field reply-to).
Since the reply-queue typically has a long/generated name (e.g. based on a 
uuid) only the original request-sender can get the reply.
It's just that no-one else knows that name.

> 2. How are temporary queues created ?
e.g. in JMS with function createTemporaryQueue(...)

> 3. Is there any API call to create temporary queue using JMX?
Did not find one (and did not expect one).
It is up to the client software to create the temporary queue, see (1)

4. How can granular access management for temporary queues are specified 
From an address point of view, it behaves the same as a regular address/queue.
So you should be able to assign access-properties to it.
But since in a typical case, the name is based on a uuid it is hard to assign 
specific permissions to individual temporary queues.
But the good thing is that other subscribers don't know the name of your 
temporary queues due to the uuid in the names.

Erwin

-----Original Message-----
From: Naveen kumar <gnaveen.g...@gmail.com> 
Sent: Tuesday, April 16, 2024 8:29 AM
To: users@activemq.apache.org
Subject: Temporary queue in Artemis active MQ 


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:    Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hi Team,

We have the below question on temporary queues in Artemis MQ in eks . Could you 
please help us with answer for the below ones,

1. When are temporary queues used ?
2. How are temporary queues created ?
3. Is there any API call to create temporary queue using JMX?
4. How can granular access management for temporary queues are specified 


Regards,
Naveen 

Reply via email to