THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
$ qpid-route Usage: qpid-route [OPTIONS] linkdynamic add <dest-broker> <src-broker> <exchange> [tag] [exclude-list] qpid-route [OPTIONS] linkdynamic del <dest-broker> <src-broker> <exchange> qpid-route [OPTIONS] linkroute add list [<dest-broker> <src-broker> <exchange> <routing-key> [tag] [exclude-list] qpid-route [OPTIONS] link map [<broker>] route del <dest-broker> <src-broker> <exchange> <routing-key> qpid-route [OPTIONS] routequeue add <dest-broker> <src-broker> <exchange> <routing-key> [tag] [exclude-list] <queue> qpid-route [OPTIONS] queue del <dest-broker> <src-broker> <exchange> <queue> qpid-route [OPTIONS] route dellist [<dest-broker> <src-broker> <exchange> <routing-key>] qpid-route [OPTIONS] route flush [<dest-broker>] qpid-route [OPTIONS] route map list [<dest-broker><broker>] qpid-route [OPTIONS] link routeadd flush [<dest-broker> <src-broker>] qpid-route [OPTIONS] link dynamicdel add <dest-broker> <src-broker> <exchange> [tag] [exclude-list] qpid-route [OPTIONS] dynamiclink dellist [<dest-broker> <src-broker> <exchange>] Options: -v [ --verbose ] Verbose output -q [ --quiet ] Quiet output, don't print duplicate warnings -d [ --durable ] Added configuration shall be durable -e [ --del-empty-link ] Delete link after deleting last route on the link -s [ --src-local ] Make connection to source broker (push route) -t <transport> [ --transport <transport>] Specify transport to use for links, defaults to tcp dest-broker and src-broker are in the form: [username/password@] hostname | ip-address [:<port>] ex: localhost, 10.1.1.7:10000, broker-host:10000, guest/guest@localhost |
...
The link map feature can be used to display the entire federated network configuration by supplying a single broker as an entry point:
Code Block |
---|
$ qpid-route linkroute map localhost:10001 Finding Linked Brokers: localhost:10001... Ok localhost:10002... Ok localhost:10003... Ok localhost:10004... Ok localhost:10005... Ok localhost:10006... Ok localhost:10007... Ok localhost:10008... Ok Dynamic Routes: Exchange fed.topic: localhost:10002 <=> localhost:10001 localhost:10003 <=> localhost:10002 localhost:10004 <=> localhost:10002 localhost:10005 <=> localhost:10002 localhost:10006 <=> localhost:10005 localhost:10007 <=> localhost:10006 localhost:10008 <=> localhost:10006 Exchange fed.direct: localhost:10002 => localhost:10001 localhost:10004 => localhost:10003 localhost:10003 => localhost:10002 localhost:10001 => localhost:10004 Static Routes: localhost:10003(ex=amq.direct) <= localhost:10005(ex=amq.direct) key=rkey localhost:10003(ex=amq.direct) <= localhost:10005(ex=amq.direct) key=rkey2 |
Using qpid-tool
...