[
https://issues.apache.org/jira/browse/AMQ-7456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067694#comment-17067694
]
Timothy A. Bish commented on AMQ-7456:
--------------------------------------
Creating a unit test that reproduces the issue will help when someone looks
into this
> Rejected delayed messages block queue
> -------------------------------------
>
> Key: AMQ-7456
> URL: https://issues.apache.org/jira/browse/AMQ-7456
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.15.8
> Reporter: Abhi Reddy
> Priority: Major
> Attachments: Screen Shot 2020-03-24 at 11.24.22 PM.png
>
>
> I am using AMQP clients to produce/consume from an activemq queue. The queue
> has a redeliveryPolicy defined.
> When a scheduled message (x-opt-delivery-delay header) is enqueued, it's
> delivered after the delay period as expected. But if the
> message is rejected by the consumer, these messages seem to exist on the
> queue forever and block any following messages.
> Attached is an example of a message that blocks the queue.
> This is my redelivery configuration
> {code:java}
> <plugins>
> <redeliveryPlugin fallbackToDeadLetter="true"
> sendToDlqIfMaxRetriesExceeded="true">
> <redeliveryPolicyMap>
> <redeliveryPolicyMap>
> <defaultEntry>
> <redeliveryPolicy initialRedeliveryDelay="5000"
> maximumRedeliveries="10" redeliveryDelay="10000"
> useExponentialBackOff="true" />
> </defaultEntry>
> </redeliveryPolicyMap>
> </redeliveryPolicyMap>
> </redeliveryPlugin>
> </plugins>
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)