We can use wildcards when specifying statically created destinations in queues.conf and topics.conf. The use of wildcards in destination names can be used to define "parent" and "child" destination relationships, where the child destinations inherit the properties and permissions from its parents.
We use two different types of wildcards ">" and "*", we need to understand the usage of these wildcards.
The wildcard > matches any destination name. When > is mixed with text, it matches one or more trailing elements. Example: foo.> Matches foo.bar, foo.boo, foo.boo.bar and foo.bar.boo |
The wildcard * means that any token can be in the place of *. Example: foo.* Matches foo.bar and foo.boo but not foo.bar.boo foo.*.bar Matches foo.bar.bar but not foo.bar |
To avoid dynamic destination(queue or topic) creation, remove '>' symbol from queues.conf (for queues) and topics.conf (for topics) files and restart the EMS server to reflect the changes. |
No comments:
Post a Comment