Delete a Message Queue From an Mbox Set
To remove a queue from an Mbox set, use the following command:
swadm delete_queue_from_mboxset mboxset_id queue_id
where:
| • | mboxset_id is the unique identifier for the Mbox set. You can find an Mbox set’s identifier using the show_mboxsets command. |
| • | queue_id is the unique identifier for the queue you want to delete. You can find a queue’s identifier using the show_queues command. |
The following example deletes the queue BGMBOX3 from the BGMBSET Mbox set. (The show_mboxsets command is used first to identify the BGMBSET Mbox set’s mboxset_id, which is 1.)
swadm show_mboxsets |
||
| Mboxset ID | Mboxset Name | Queue Type |
| 1 | BGMBSET | Local |
| 2 | WMDMBSET | Local |
| 3 | PREDICTMBSET | Local |
swadm delete_queue_from_mboxset 1 BGMBOX3 |
||