Managing pending acknowledgement messages on a deleted WebSphere MQ link
If a foreign bus link to a IBM MQ network is deleted from the WebSphere® Application Server configuration before being drained of messages, a batch of messages pending acknowledgement remains stored in the WebSphere MQ link sender channel transmitter. You can use the administrative console to resolve these messages.
Before you begin
You must know the name of the WebSphere MQ link that has been deleted.
About this task
Procedure
- Start the administrative console.
- In the navigation pane, click to display a list of buses.
- Select the bus whose link transmission queue you want to manage.
- In the Configuration tab, under Topology, click Foreign Bus Connections to display a list of connections for this bus.
- From the list of foreign bus connections, select the name of a foreign bus connection to display its details.
- Under Related Items click Service integration bus links to display the details of the service integration bus links.
- Select the MQ network foreign bus that has a connection that is active, but a configuration status that is Deleted. If clicking Link transmitters displays an empty list, no messaging engines are producing messages to this link and all the link transmitters have been deleted because they were drained of messages. The Sender channel transmitter link displays the status of the sender channel as stopped but Current outbound messages shows remaining messages on the sender channel transmitter.
- Click a WebSphere MQ link Sender channel link to display the messages that are queued on the WebSphere MQ link sender channel transmitter for transmission to the IBM MQ network.
- If the Status of a batch of messages is "Commit pending batch", the batch has arrived safely at the MQ network. Select the batch and click Commit pending batch to remove the messages from the transmission queue.
- If the Status of a batch of messages is "Pending batch acknowledgement", the batch did not arrive at the MQ network. Select the batch and click Rollback pending acknowledge batch to roll back the transaction and restore the messages to the channel in an available state. These messages are either automatically deleted or moved to the exception destination. When the channel transmitter is empty, the link is automatically deleted from the runtime environment.