Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ ./qpid-config -s ../../specs/amqp.0-10-preview.xml -b exchanges
Exchange '' (direct)
    bind pub_start => pub_start
    bind pub_done => pub_done
    bind sub_ready => sub_ready
    bind sub_done => sub_done
    bind perftest0 => perftest0
    bind mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15 => mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15
    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 => repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
Exchange 'amq.direct' (direct)
    bind repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15 => repl-3206ff16-fb29-4a30-82ea-e76f50dd7d15
    bind repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837 => repl-df06c7a6-4ce7-426a-9f66-da91a2a6a837
    bind repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae => repl-c55915c2-2fda-43ee-9410-b1c1cbb3e4ae
Exchange 'amq.topic' (topic)
Exchange 'amq.fanout' (fanout)
Exchange 'amq.match' (headers)
Exchange 'qpid.management' (topic)
    bind mgmt.# => mgmt-3206ff16-fb29-4a30-82ea-e76f50dd7d15

...

The utility thus looks much like iproute (smile)

Code Block
$ ./qpid-route -s ../../specs/amqp.0-10-preview.xml --help
Usage:  qpid-route OPTIONS add   <dest-broker> <src-broker> <exchange> <routing-key>
        qpid-route OPTIONS del   <dest-broker> <src-broker> <exchange> <routing-key>
        qpid-route OPTIONS list  <dest-broker>
        qpid-route OPTIONS flush <dest-broker>
Options:
    -s [ --spec-file ] PATH (/usr/share/amqp/amqp.0-10-preview.xml)
    -v [ --verbose ]              Verbose output
    -q [ --quiet ]                Quiet output, don't print duplicate warnings
  dest-broker and src-broker are in the form:   hostname | ip-address :<port>
  ex:  localhost, 10.1.1.7:10000, broker-host:10000

...