Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
10.4.8. View Routes
Procedure 10.1. Using the route list
command
- Create the following two routes:
qpid-route dynamic add localhost:10003 localhost:10004 fed.topic qpid-route dynamic add localhost:10004 localhost:10003 fed.topic
$ qpid-route dynamic add localhost:10003 localhost:10004 fed.topic $ qpid-route dynamic add localhost:10004 localhost:10003 fed.topic
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the
route list
command to show the routes associated with the broker:qpid-route route list localhost:10003
$ qpid-route route list localhost:10003 localhost:10003 localhost:10004 fed.topic <dynamic>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note that this shows only one of the two routes created, namely the route for whichlocalhost:10003
is a destination. - To view the route for which
localhost:10004
is a destination, runroute list
onlocalhost:10004
:qpid-route route list localhost:10004
$ qpid-route route list localhost:10004 localhost:10004 localhost:10003 fed.topic <dynamic>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Procedure 10.2. Using the route map
command
- The
route map
command shows all routes associated with a broker, and recursively displays all routes for brokers involved in federation relationships with the given broker. For example, run theroute map
command for the two brokers configured above:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note that the two dynamic exchange links are displayed as though they were one bidirectional link. Theroute map
command is helpful for larger, more complex networks. - Configure a network with 16 dynamic exchange routes:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Use the
route map
command starting with any one broker to see the entire network:Copy to Clipboard Copied! Toggle word wrap Toggle overflow