17.6.6. Configure Message Expiry Addresses
Message expiry addresses are defined in the address-setting configuration of the Java Messaging Service (JMS). For example:
<!-- expired messages in exampleQueue will be sent to the expiry address expiryQueue --> <address-setting match="jms.queue.exampleQueue"> <expiry-address>jms.queue.expiryQueue</expiry-address> </address-setting>
Address wildcards can be used to match multiple similar addresses with a single statement, similar to how many systems use the asterisk (*) character to match multiple files or strings with a single search. The following characters have special significance in a wildcard statement.
Table 17.4. JMS Wildcard Syntax
| Character | Description |
|---|---|
| . (a single period) | Denotes the space between words in a wildcard expression. |
| # (a pound or hash symbol) | Matches any sequence of zero or more words. |
| * (an asterisk) | Matches a single word. |
Table 17.5. JMS Wildcard Examples
| Example | Description |
|---|---|
| news.europe.# |
Matches
news.europe, news.europe.sport, news.europe.politic, but not news.usa or europe.
|
| news. |
Matches
news.europe but not news.europe.sport.
|
| news.*.sport |
Matches
news.europe.sport and news.usa.sport, but not news.europe.politics.
|

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.