High Quality JMS Messaging.

Switch Router [sr]

Syntax:

    sr <router>

Switches to a specific router and makes this router the current router for configuration. After CLI starts, there is no current router, so a sr command must be invoked.

Example:

    $pamela> java com.swiftmq.admin.cli.CLI smqp://localhost:4005 QueueConnectionFactory

    Welcome to SwiftMQ!

    Username: admin
    Password: secret
    Trying to connect ... connected
    Type 'help' to get a list of available commands.
    Router 'pamela.iit.de' is available for administration.
    Router 'dev194.iit.de' is available for administration.
    >sr dev194.iit.de
    dev194.iit.de>_

Note that you can abbreviate the router name, i. e. in the above example you can also type "sr d" to switch to router dev194.iit.de.