You might want to view the status of a WebSphere® MQ 鏈結 or its components because you intend to stop the IBM MQ 鏈結 and you want to see if there are any messages currently held
on it, or you are about to delete the IBM MQ 鏈結 and you have to verify there are no messages on it, or messages
have not arrived at their expected destination and you want to check
if they are being held, pending transmission over the IBM MQ 鏈結.
About this task
To view the status of a IBM MQ 鏈結, use the administrative console to complete the following steps.
Note: If
you attempt to start a IBM MQ sender
channel that is already in RUNNING state, the WebSphere Application Server administrative
console might occasionally incorrectly report the channel status as
INACTIVE. If this happens, you can ignore the error because the channel
is still running. To return the channel status to RUNNING, stop and then restart the channel.
Procedure
- In the navigation pane, click one of the following paths:
- Click the IBM MQ 鏈結 you want
to view.
- Click the Runtime tab. The content pane displays the status of the IBM MQ 鏈結.
- Click the Configuration tab.
- Optional: To view the status of the sender
channel:
- Click Sender channel.
- Click the channel you want to view.
- Click the Runtime tab. The content pane displays status information for the sender
channel. Some of the more important fields to check are:
- The status of the channel.
- Whether the message on the channel is in an indoubt state. If the
message is in doubt, it has not been acknowledged by IBM MQ.
- The number of messages in the current batch.
- The number of batches that have been sent.
- The time and date at which the channel was last started.
- The time and date at which the last message was sent.
- Click Saved batch status. The content pane displays the saved status of message
batches that have been saved for transmission to IBM MQ.
- If a batch is in an indoubt state, you can either commit or rollback
the batch.
- Optional: To view the status of the receiver
channel:
- Return to the IBM MQ 鏈結 page.
- Click Receiver channel.
- Click the Runtime tab. The content pane displays the status of the receiver channel.
- Click Receiver channel connections. The content pane displays the connections existing on
the receiver channel, and their current status. You can stop connections
if required, by selecting the check box next to the connection and
clicking Stop.
- Return to the receiver channel page.
- Click Saved batch status. The content pane displays the saved status of message
batches that have been received from IBM MQ.
What to do next
You can also view the status of subscriptions for a broker
profile on the
IBM MQ 鏈結:
Viewing the status of subscriptions for an IBM MQ link publish/subscribe broker profile.