8.3.13. Routing Key Wildcard Examples


The following table demonstrates the interaction between routing key wildcards in ACL rules and message headers. Along the top of the table are routing keys with wildcards. Down the left-hand side are message headers.
The character X indicates that the message with the given header will not be routed given an ACL rule that allows messages with the specified routing key. 'Routed' indicates that the message with the given header will be routed by an ACL rule that allows message with the specified routing key.
Table 8.12. Routing Keys, Message Headers, and Resultant Routing.
Routing Keys -> a.# #.e a.#.e a.#.c.#.e #.c.# #
Message Headers:
ax
X
X
X
X
X
Routed
a.x
Routed
X
X
X
X
Routed
ex
X
X
X
X
X
Routed
e.x
X
X
X
X
X
Routed
ae
X
X
X
X
X
Routed
a.e
Routed
Routed
Routed
X
X
Routed
a..e
Routed
Routed
Routed
X
X
Routed
a.x.e
Routed
Routed
Routed
X
X
Routed
a.c.e
Routed
Routed
Routed
Routed
Routed
Routed
a..c..e
Routed
Routed
Routed
Routed
Routed
Routed
a.b.c.d.e
Routed
Routed
Routed
Routed
Routed
Routed
a.b.x.c.d.y.e
Routed
Routed
Routed
Routed
Routed
Routed
a.#
Routed
X
X
X
X
Routed
#.e
X
Routed
X
X
X
Routed
a.#.e
Routed
Routed
Routed
X
X
Routed
a.#.c.#.e
Routed
Routed
Routed
Routed
Routed
Routed
#.c.#
X
X
X
X
Routed
Routed
#
X
X
X
X
X
Routed
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.