Manage pending acknowledgement messages on a deleted WebSphere MQ link
If a foreign bus link to a WebSphere MQ network is deleted from the WAS configuration before being drained of messages, a batch of messages pending acknowledgement remains stored in the WebSphere MQ link sender channel transmitter. We can use the dmgr console to resolve these messages.
You must know the name of the WebSphere MQ link that has been deleted. To resolve pending acknowledgement messages on a deleted WebSphere MQ link, use the dmgr console to complete the following steps.
- Start the dmgr console.
- In the navigation pane, click Service integration -> Buses to display a list of buses.
- Select the bus whose link transmission queue 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 WebSphere 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.
Results
We have resolved any pending acknowledgement messages on a WebSphere MQ link that has been deleted from a foreign bus connecting to a service integration bus.
Related
Prepare to remove a foreign bus connection between a service integration bus and a WebSphere MQ network
Remove a foreign bus connection from a bus