WAS v8.5 > Administer applications and their environment > Welcome to administering Messaging resources > Manage messaging with the default messaging provider > Interoperate with a WebSphere MQ network > Use WebSphere MQ links to connect a bus to a WebSphere MQ network > Administer an existing WebSphere MQ link

Stopping a WebSphere MQ link

We can change the state of a WebSphere MQ link from "Started" or "Running" to "Stopped". When you stop a WebSphere MQ link, all communication with the target WebSphere MQ network is stopped for both point-to-point and publication and subscription. Messages waiting for transmission are held on the service integration bus, and the MQ sender channel cannot start. If there is a publish/subscribe bridge on the WebSphere MQ link, its operations are stopped.

Inform the WebSphere MQ administrator that you are about to stop this WebSphere MQ link. To stop a WebSphere MQ link, use the dmgr console to complete the following steps. We can also stop either the sender or receiver channel on the WebSphere MQ link, while leaving the link itself running. See Stopping the sender channel on a WebSphere MQ link, and Stopping the receiver channel on a WebSphere MQ link.

  1. In the navigation pane, click one of the following paths:

    • Service integration -> Buses -> bus_name -> [Topology] Foreign bus connections -> foreign_bus_name -> [Related Items] WebSphere MQ links
    • Service integration -> Buses -> bus_name -> [Topology] Messaging engines -> engine_name -> [Additional properties] WebSphere MQ links

  2. In the content pane, select the check box next to the WebSphere MQ link to stop.
  3. In the Stop mode list, select "Quiesce" or "Force".
  4. In the Target state list select "Inactive" or "Stopped".

  5. Click Stop.


Results

The resultant state of the WebSphere MQ link, its sender and receiver channels, and the WebSphere MQ sender channel that is connected to the WebSphere MQ link receiver channel, depends on the options you chose:

These are the final states the sender, receiver and WebSphere MQ link transition into. If we specify a mode of QUIESCE for either of the two final states, the channels and link might not transition into their final states immediately. Instead they temporarily transition through other states required to reach their final state.

For more details about stopped states of the WebSphere MQ link, see States of the WebSphere MQ link and its channels.

We can restart the WebSphere MQ link by selecting the link again and clicking Start.

If the WebSphere MQ link is started and the sender channel is in the stop state, it goes into the standby state. The sender channel goes into negotiation with the partner receiver channel if it is started from the standby state. The sender channel then moves into the running state if the negotiation successful, or into the retry state if the negotiation fails. If messages are present when the WebSphere MQ link is started, the sender channel automatically goes into negotiation with its partner receiver channel and then moves to the running or retry state.

When the WebSphere MQ link is stopped, and not in doubt, we can delete the WebSphere MQ link and any associated publish/subscribe broker profiles and topic mappings as described in Remove a foreign bus connection from a bus.


Subtopics


+

Search Tips   |   Advanced Search