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

2.13. Topic


To configure subscription queues in AMQP 1.0, a new broker entity of type 'topic' has been added.
A topic references an existing exchange and additionally specifies the queue options to use when creating the subscription queue for any receiver link attached to that topic. There can be topics with different names all referencing the same exchange where different policies should be applied to queues.
Topics can be created and deleted using the qpid-config tool, e.g.
 qpid-config add topic my-topic --argument exchange=amq.topic\
 --argument qpid.max_count=500 --argument qpid.policy_type=self-destruct
Copy to Clipboard Toggle word wrap
If a receiver is established for address 'my-topic/my-key' over 1.0 now, it will result in a subscription queue being created with a limit of 500 messages, that deletes itself (thus ending the subscription) if that limit is exceeded and is bound to 'amq.topic' with the key 'my-key'.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat