Questo contenuto non è disponibile nella lingua selezionata.

2.7. Stomp Composite Destinations


Abstract

You can specify composite destinations between Stomp and A-MQ.

Specify Composite Destinatons for Stomp in A-MQ

Stomp can be used to subscribe to A-MQ topics or to pull from queues. Comma separated lists of multiple topics or queues can be used to ensure that all messages are receieved. These are composite destination lists.
The format of a composite destination list is as follows:
/dest-type/dest-name01,/dest-type/dest-name02,/dest-type/dest-name79
Copy to Clipboard Toggle word wrap
Note
The dest-type must be specified for each entry in the composite definition list, even though all the entries are for the same destination type.
For example, a composite destination list of topics can be defined as:
/topic/test01,/topic/test02,/topic/test15A
Copy to Clipboard Toggle word wrap
A composite destination list of queues can be defined as:
/queue/queuename01,/queue/queuename02,/queue/queuename31C
Copy to Clipboard Toggle word wrap
You can combine queue and topic destinations on the same line in the following way:
/queue/queuename01,/topic/test01,/queue/queuename31C
Copy to Clipboard Toggle word wrap
Note
Be aware that if a message is published to more than one of the elements in your composite definition list, you will only recieve one copy of it. You will not receive duplicate messages.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat