Show Table of Contents
20.6.9. 配置消息过期地址
介绍
消息过期地址是在 JMS 的 address-setting 配置里定义的。例如:
<!-- 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)也可以用来配置一系列地址的过期地址范围。关于 JMX 通配符语法和示例,请参考 第 20.6.2 节 “配置 JMS 地址设置”。

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.