This topic describes how you change the state of a WebSphere MQ link from
started or running to stopped.
Before you begin
You may wish to inform the administrator of the WebSphere MQ network
that you are about to stop this WebSphere MQ link.
If
you stop the WebSphere MQ link all communication with the target WebSphere
MQ network will cease for both point-to-point and publication and subscription.
Messages will be held at their transmission locations.
Why and when to perform this task
You 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.
To stop a
WebSphere MQ link,
use the administrative console to complete the following steps:
Steps for this task
- In the navigation pane, click bus_name link_name
- In the content pane, select the check box next to the WebSphere MQ link you
want to stop.
- In the Stop mode list, select Quiesce or
Force.
- In the Target state list select Inactive or Stopped.
- Click Stop.
The resultant state of the
WebSphere MQ link,
its sender and receiver channels, and the WebSphere MQ sender channel which
is connected to the
WebSphere MQ link receiver
channel, depends on the options you chose:
- Stopping the WebSphere MQ link to target state INACTIVE will
cause the sender channel to go into state STANDBY and
the receiver channel to go into state INACTIVE.
The overall WebSphere MQ link status will be RUNNING.
- Stopping the WebSphere MQ link to target state STOP will
cause the sender channel to go into state STOPPED and
the receiver channel to go into state STOPPED.
The overall WebSphere MQ link status will be STOPPED.
These are the final states that the sender, receiver and WebSphere
MQ link will transition to. If you specify a mode of QUIESCE for
either of the two final states, the channels and link may 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.
Now you have stopped the
WebSphere MQ link:
- Messages waiting for transmission or subsequent messages about to be sent
to the WebSphere MQ network are held on the service integration bus, and the
MQ sender channel will not start. If there is a publish/subscribe bridge on
the WebSphere MQ link engine its operations
will also stop.
- You can (re)start the WebSphere MQ link by selecting the link again and
clicking Start.
- You can delete theWebSphere MQ link: Deleting a WebSphere MQ link. Only delete the WebSphere
MQ link if it is stopped and not in doubt.