Syntax:
wr <router>
Waits that a router becomes available for administration. The command has no effect if the router is already available. It is useful in CLI scripts, e.g. to shutdown a remote router, to first wait for the availability and then execute other commands. This command is new in SwiftMQ 6.0.0.
Example:
$dev194> 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 'dev194.iit.de' is available for administration.
>wr pamela.iit.de
Waiting for router 'pamela.iit.de'
Router 'pamela.iit.de' is available for administration.
>sr pamela.iit.de
pamela.iit.de>_