IBM MQ Console: Working with queues
You can view the queues that exist for a specific queue manager in the Queues tab. You can add and delete queues, add and clear messages on a queue, browse messages, view and set the properties of a queue, and manage the authority records of a queue.
About this task
The queues view lists the queues that exist for a specific queue manager. You access the queues list by clicking on a queue manager and selecting the Queues tab. You can select individual queues from the list to work with.
You cannot view or edit authority records for queues on
z/OS®.
To use any of the move message or copy message features, you must be a user with the MQWebAdmin role.
Procedure
-
To add a queue:
-
In the Queues tab, click the create button
.
-
Select the type of queue that you want to create:
- Local queue - store messages within the queue manager it belongs to.
- Alias queue - a pointer to another queue on the same queue manager.
- Remote queue - a pointer to another queue on a different queue manager.
- Model queue - a template for a queue used when a dynamic queue manager is created.
- Provide the required information for the type of queue you are creating. By default the minimum recommended properties are displayed for you to provide values for. You can view all of the available properties by selecting Custom create.
- Click Create. The new queue is created.
-
In the Queues tab, click the create button
-
To put messages to a queue:
- Click the queue that you want to add messages to in the list in the queues list view. You cannot select a model queue.
-
Click the Create button
- Enter the message that you want to put onto the queue.
- Click Create.
-
To clear messages from a queue:
- Click the local queue that you want to clear messages from in the queues list.
-
Click the Clear queue icon
- Confirm that you want to clear the queue by clicking Clear queue.
To copy all messages from one queue to another queue:
- Click the local queue that you want to copy messages from in the queues list.
-
Click the Copy messages icon
.
- Select the queue that you want to move the message to and click Copy messages. You are told how many messages have been copied.
To move all messages from one queue to another queue:
- Click the local queue that you want to move messages from in the queues list.
-
Click the Move messages icon
.
- Select the queue that you want to move the message to and click Move messages. You are told how many messages have been moved.
To delete an individual message from a queue: - Locate the message that you want to delete.
- Click the menu icon next to the message
and select
Delete. - Confirm that you want to clear the message by clicking Delete.
To move an individual message to a different queue: - Locate the message that you want to move.
- Click the menu icon next to the message
and select
Move. - Select the queue that you want to move the message to and click Move message.
To copy an individual message to a different queue: - Locate the message that you want to move.
- Click the menu icon next to the message
and select
Copy. - Select the queue that you want to copy the message to and click Copy message.
-
To browse messages on a queue, click on the queue in the queues list view. A list of the
messages on that queue is displayed, and you can select a message to view its properties.
The properties are displayed in tabs. The tabs displayed depend upon the properties that are present. You can use the Show MQRFH2 Structure control to toggle between displaying MQRFH2 message headers in a dedicated MQRFH2 properties tab or in the Named properties tab.
-
To delete a queue:
- Click on the local queue that you want to delete in the queues list.
-
Click the Actions button
and select Delete queue.
- Confirm that you want to delete the queue by clicking Delete. The queue is deleted.
-
To view and edit the properties of a queue:
-
Select View configuration from the menu
next to the queue that you want to edit.
-
Click the Edit button
- Edit the properties as required. If the property text box is disabled, the property is read-only, or can be edited only from the command line. For information about the properties, see Queue properties in the IBM® MQ Explorer documentation
- Click Save to save your changes.
-
Select View configuration from the menu
-
To view and edit authority records for a queue:
-
Select View configuration from the menu
next to the queue that you want to edit.
- Click the Security tab.
- Work with the authority records as described for queue manager authority records. See IBM MQ Console: Working with queue manager authority records.
-
Select View configuration from the menu
-
To view the IBM MQ objects associated with a
queue:
-
Select View associated objects from the menu
next to the queue that you want to view.
- View the objects in the panel that appears. Click the links to view more details about each of the listed objects.
You can use the panel to view which applications are putting messages on queues and see the relationships between different queues. This can help you to identify and resolve issues. -
Select View associated objects from the menu