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
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
A composite destination list of queues can be defined as:
/queue/queuename01,/queue/queuename02,/queue/queuename31C
You can combine queue and topic destinations on the same line in the following way:
/queue/queuename01,/topic/test01,/queue/queuename31C
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.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.