Este conteúdo não está disponível no idioma selecionado.

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>
    
  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
    
  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
    
  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
    
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo