20.8.7. Configure Delayed Redelivery
Introduction
Delayed redelivery is defined in the <redelivery-delay>
element, which is a child element of the <address-setting>
configuration element in the Java Messaging Service (JMS) subsystem configuration.
<!-- delay redelivery of messages for 5s --> <address-setting match="jms.queue.exampleQueue"> <redelivery-delay>5000</redelivery-delay> </address-setting>
If a redelivery delay is specified, the JMS system waits for the duration of this delay before redelivering the messages. If
<redelivery-delay>
is set to 0
, there is no redelivery delay. Address wildcards can be used on the match
attribute of <address-match>
element to configure the redelivery delay for addresses that match the wildcard.