Message Queues
vHost Queues
To reach and view vHost Queues:
- Open Analyze
- Select the “Tools” menu
- Hover over “Queueing” in the dropdown menu
- Click “vHosts”
- Click the queues icon of the desired vHost
This will open the Queues Table which displays the list of queues and other important information related to the vHost, including its message state, consumers, and rate of message processing.
Creating Queues
To create a queue:
- Open Analyze
- Select the “Tools” menu
- Hover over “Queueing” in the dropdown menu
- Click “vHosts”
- Click the queues icon of the desired vHost
- Click “Add Queue”
This will open a form where you can provide a name, durability level, and determine if the queue should be deleted when no consumers are present.
Durability is useful if a message needs to be retained in the event of a system failure or restart. If you choose not to create a durable queue, then the message will be lost after a restart. Although durability is useful, it is not always desired.
Creating a durable queue results in a slightly slower process because each message must be stored in permanent storage. We suggest then that you only create a durable queue when the message is critical and use non-durable queues when a message is executed right away or is not critical.
Deleting Queues
To delete a queue:
- Open Analyze
- Select the “Tools” menu
- Hover over “Queueing” in the dropdown menu
- Click “vHosts”
- Click the queues icon of the desired vHost
- Click the delete icon of the desired queue
Purging a Queue
Purging a queue will delete all messages in that queue.
To purge a queue:
- Open Analyze
- Select the “Tools” menu
- Hover over “Queueing” in the dropdown menu
- Click “vHosts”
- Click the queues icon of the desired vHost
- Click the purge icon of the desired queue
- Click “Purge Queue”