Sun GlassFish Message Queue 4.4 Administration Guide

Starting and Stopping the STOMP Bridge

The STOMP bridge is started automatically when the broker hosting the bridge starts. Similarly, the STOMP bridge is stopped automatically when the broker hosting it is stopped. The STOMP bridge can be stopped and restarted manually using the imqbridgemgr utility.

ProcedureTo Activate the STOMP Bridge

  1. Confirm that the bridge service manager is enabled.

    See To Enable the Bridge Service Manager for instructions.

  2. Add the name stomp to the list of bridge names in the imq.bridge.activelist broker property.

ProcedureTo Stop the STOMP Bridge Manually

  1. Enter the imqbridgemgr stop bridge command, specifying the bridge type and the broker.

    For example, to stop the STOMP bridge hosted by the broker running on myhost:8886, enter this command:


    imqbridgemgr stop bridge -t STOMP -b myhost:8886

ProcedureTo Start the STOMP Bridge Manually

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

    For example, to start the STOMP bridge hosted by the broker running on myhost:8886, enter this command:


    imqbridgemgr start bridge -t STOMP -b myhost:8886