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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content