Sun GlassFish Message Queue 4.4 Administration Guide

Starting and Stopping Links in a JMS Bridge

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.

ProcedureTo Stop a Link Manually

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

ProcedureTo Start a Link Manually

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.

  1. Enter the imqbridgemgr start link command, specifying the link name, the bridge name, and the broker.

    For example, to start the link link1 in the bridge mq2external hosted by the broker running on myhost:8886, enter this command:


    imqbridgemgr start link  -ln link1 -bn mq2external -b myhost:8886