Este contenido no está disponible en el idioma seleccionado.

Chapter 17. Configuring Delayed Redelivery


Delayed redelivery to an address is defined by the redelivery-delay attribute of an address-setting configuration element. If a redelivery delay is specified, JBoss EAP waits for the duration of this delay before redelivering messages. If redelivery-delay is set to 0, there is no redelivery delay. To get the current value of redelivery-delay for a given address-setting, use the following management CLI command as an example.

/subsystem=messaging-activemq/server=default/address-setting=YOUR_ADDRESS_SETTING:read-attribute(name=redelivery-delay)

The table below lists the configuration attributes of an address-setting that can be used to configure the redelivery of messages. Set the value for a given attribute using the following management CLI command as an example.

/subsystem=messaging-activemq/server=default/address-setting=YOUR_ADDRESS_SETTING:write-attribute(name=ATTRIBUTE,value=NEW_VALUE)
Table 17.1. Delivery Related Attributes of Address Settings
AttributeDescription

max-delivery-attempts

Defines how many time a canceled message can be redelivered before sending to the dead-letter-address. The default is 10.

max-redelivery-delay

Maximum value for the redelivery-delay in milliseconds. The default is 0.

redelivery-delay

Defines how long to wait in milliseconds before attempting redelivery of a canceled message. The default is 0.

redelivery-multiplier

Multiplier to apply to the redelivery-delay parameter. The default is 1.0

See Address Settings for details on configuring an address-setting.

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.