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

1.5.15. Filters


Outgoing links may have a filter set on their source. The filters supported by the broker are:
  • legacy-amqp-direct-binding
  • legacy-amqp-topic-binding
  • legacy-amqp-headers-binding
  • selector-filter
  • xquery-filter
Filters can be specified through the filter property in the link properties specified in the address. The value of this filter property should be a list of maps, with each map specifying a filter through key-value pairs for name, descriptor (can be specified as numeric or symbolic) and a value. For example:
my-xml-exchange; {link:{filter:{value:"declare variable $colour external; colour='red'",name:x,descriptor:"apache.org:xquery-filter:string"}}}
Copy to Clipboard Toggle word wrap
Expand
Table 1.1. Filter support by Node type
direct topic fanout headers xml queue
legacy-amqp-direct-binding
Yes
Yes
No
No
Yes
Yes
legacy-amqp-topic-binding
No
Yes
No
No
No
Yes
legacy-amqp-headers-binding
No
No
No
Yes
No
No
xquery-filter
No
No
No
No
Yes
No
selector-filter
Yes
Yes
Yes
Yes
Yes
Yes
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

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

让开源更具包容性

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

關於紅帽

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

Theme

© 2025 Red Hat