Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

10.4.4. Create and Delete Queue Routes


  1. To create and delete queue routes, use the following syntax:
    qpid-route [OPTIONS] queue add <dest-broker> <src-broker> <dest-exchange> <src-queue>
    qpid-route [OPTIONS] queue del <dest-broker> <src-broker> <dest-exchange> <src-queue>
    
    Copy to Clipboard Toggle word wrap
  2. For example, use the following command to create a queue route that routes all messages from the queue named public on the source broker localhost:10002 to the amq.fanout exchange on the destination broker localhost:10001:
    $ qpid-route queue add localhost:10001 localhost:10002 amq.fanout public
    
    Copy to Clipboard Toggle word wrap
  3. Optionally, specify the -d option to persist the queue route. The queue route will be restored if one or both of the brokers is restarted:
    $ qpid-route -d queue add localhost:10001 localhost:10002 amq.fanout public
    
    Copy to Clipboard Toggle word wrap
  4. The del command takes the same arguments as the add command. Use the following command to delete the queue route described above:
    $ qpid-route queue del localhost:10001 localhost:10002 amq.fanout public
    
    Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat