Links in a JMS bridge are started automatically when the bridge starts. Similarly, links are stopped automatically when the bridge is stopped. Additionally, once a JMS bridge is started, any of its links can be paused, resumed, stopped or restarted manually using the imqbridgemgr utility.
Enter the imqbridgemgr stop link command, specifying the link name, the bridge name, and the broker.
For example, to stop the link link1 in the bridge mq2external hosted by the broker running on myhost:8886, enter this command:
imqbridgemgr stop link -ln link1 -bn mq2external -b myhost:8886 |
A link cannot be started manually unless it is enabled; that is, the enabled attribute of its link element in the bridge's XML configuration file is set to true.