Deleting queue managers and objects

When you delete a queue manager or an object in IBM® MQ Explorer, the queue manager or object no longer exists on the system.

About this task

Important: Before you delete a queue manager or an object, make sure that none of your applications need it. If you delete a queue manager, all the objects for the selected queue manager, such as queues or channels, are deleted as well.

If you want to keep the queue manager or object on the system but you do not want it to be displayed in IBM MQ Explorer, you can hide it. For more information, see Hiding queue managers in IBM MQ Explorer, and Filtering the objects displayed in IBM MQ Explorer.

To delete a queue manager or an object, complete the following steps.

Procedure

  1. In the Navigator view, click the relevant folder to list its contents in the Content view. For example, if you want to delete a queue, click the Queues folder to list the queues for the selected queue manager in the Content view.
  2. In the Content view, right-click the queue manager or object, then click Delete.
    To delete multiple objects, hold down the Shift or Ctrl key, select the objects you want to delete, right-click the selected objects, then click Delete.
    If you are deleting a queue and the queue contains messages, a dialog asks if you want to clear the messages first. You cannot delete a queue without clearing its messages first.
  3. When you are prompted, click Delete to confirm that you want to delete the queue manager or object.

Results

The queue manager or object is deleted from the system and any applications that need the queue manager or object no longer work properly.