Re-delivery Policy doesnt work for ActiveMQ amqp protocol

Solution Verified - Updated -

Issue

  • Re-delivery policy does'nt work for amqp protocol but this works perfectly for tcp protocol. Below is the configuration
<redeliveryPlugin fallbackToDeadLetter="true" sendToDlqIfMaxRetriesExceeded="true">
                <redeliveryPolicyMap>
                    <redeliveryPolicyMap>
                        <redeliveryPolicyEntries>
                            <!-- a destination specific policy -->
                            <redeliveryPolicy queue="com.test" maximumRedeliveries="3" initialRedeliveryDelay="2000" redeliveryDelay="5000" />
                        </redeliveryPolicyEntries>
                            <!-- the fallback policy for all other destinations -->
                        <defaultEntry>
                            <redeliveryPolicy maximumRedeliveries="3" initialRedeliveryDelay="3000" redeliveryDelay="3000" />
                        </defaultEntry>
                    </redeliveryPolicyMap>
                </redeliveryPolicyMap>
</redeliveryPlugin>

Environment

  • Red Hat JBoss A-MQ/Fuse
    • 6.2.1
    • 6.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In