此内容没有您所选择的语言版本。

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.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat