How many times does JBoss ESB's RedeliverService attempt redelivery?

Solution Unverified - Updated -

Environment

  • JBoss Enterprise Service Oriented Architecture Platform (SOA-P)
    • 5.x

Issue

  • I know that JBoss ESB has "JBossESB-Internal:RedeliverService" service in jbossesb.esb and the service tries to redeliver messages which the ESB fails to deliver in the action pipeline.
  • But, how many times does this redelivery service try to redeliver a message before sending it to the DLQ message store?
  • How can I configure the max attempts of redelivery?

Resolution

The default number of max redeliveries is 20.

To configure how many times it tries to redeliver, modify the following "max-redeliveries" property in $PROFILE/deploy/jbossesb.esb/META-INF/jboss-esb.xml:

        <service category="JBossESB-Internal" name="RedeliverService" description="Scheduled Service to Redeliver Messages">
            ...
            <actions mep="OneWay">
                <action name="RedeliverMessagesAction" class="org.jboss.soa.esb.actions.MessageRedeliverer">
                    <property name="max-redeliveries" value="20"/>
                </action>
            </actions>          
        </service>

If you omit the "max-redeliveries" property, then the number of max redeliveries is set to 10.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.