Prepare to remove a foreign bus connection between two service integration buses
Before you remove a foreign bus connection between two service integration buses, drain as many messages as we can from the link transmitter queue, then manually move or delete any remaining messages.
You must know which foreign bus connection is being prepared for deletion.
When a foreign bus connection and its service integration bus link is deleted from the configuration, the next time the hosting messaging engine for a link transmitter is started, the messaging engine deletes all its messages or moves them to the exception destination. To avoid messages being unintentionally deleted or moved to the exception destination, drain the messages from the link transmitter queue as much as possible and then, before deleting the link configuration, either move any remaining messages to an exception destination or delete them.
- Start the dmgr console.
- In the navigation pane, click Service integration -> Buses to display a list of buses.
- Select the bus from which to remove the foreign bus connection.
- In the Configuration tab, under Topology, click Foreign bus connections. A list of connections for this bus is displayed.
- From the list of foreign bus connections, click the name of the foreign bus connection to display its details.
- Under General properties, clear the Send Allowed check box to prevent new messages from being produced for this service integration bus link.
- Click Apply to save the configuration.
- To determine when there are no more messages queued on this link, under Related Items click Service integration bus links to display the details of the service integration bus links.
- Click the Refresh icon of Status to refresh the view of the current outbound messages.
- When there are no current outbound messages, select the check box next to the appropriate link and then click Stop to stop the link to the foreign bus. When the status of the link turns to red, the link to the foreign bus has no remaining messages and is stopped.
- Repeat steps 2 to 10 for the foreign bus, because the foreign bus can continue to produce messages after the foreign bus connection on the local bus has been deleted.
- Save changes to the master configuration.
Results
We have drained the messages from the link transmitter queue as much as possible, and either moved any remaining messages from the transmission queues to an exception destination or deleted them. You are now ready to remove the foreign bus connection.
Related
Manage messages that use foreign bus connections
Manage messages in a link transmission queue for a connection between two buses
View messages in a link receiver queue for a connection between two buses
Manage messages in a known link transmission queue for connection to a WebSphere MQ network
Manage messages in a sender channel transmission queue for a connection to a WebSphere MQ network