+

Search Tips   |   Advanced Search

Preparing 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.

We 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.

  1. Start the console.

  2. In the navigation pane, click Service integration -> Buses to display a list of buses.

  3. Select the bus from which to remove the foreign bus connection.

  4. In the Configuration tab, under Topology, click Foreign bus connections. A list of connections for this bus is displayed.

  5. From the list of foreign bus connections, click the name of the foreign bus connection to display its details.

  6. Under General properties, clear the Send Allowed check box to prevent new messages from being produced for this service integration bus link.

  7. Click Apply to save the configuration.

  8. 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.

  9. Click the Refresh icon of Status to refresh the view of the current outbound messages.

  10. 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.

  11. 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.

  12. Save the changes to the master configuration.


Results

You 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. We are now ready to remove the foreign bus connection.


Related tasks

  • 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