[
https://issues.apache.org/jira/browse/AMQ-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Tully resolved AMQ-5513.
-----------------------------
Resolution: Fixed
fix in http://git-wip-us.apache.org/repos/asf/activemq/commit/dbb1d8b8
> redelivery count incremented in error for unconsumed prefetched messages
> ------------------------------------------------------------------------
>
> Key: AMQ-5513
> URL: https://issues.apache.org/jira/browse/AMQ-5513
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker, JMS client
> Affects Versions: 5.10.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Labels: DLQ, redelivery
> Fix For: 5.11.0
>
>
> If a consumer with prefetch>0 does an immediate close, without consuming any
> messages. Spring DMLC with small timeout or receiveNoWait for example. The
> broker will have dispatched and will want to redispatch to another consumer
> and will have incremented the redelivery count in error.
> After 6 (default redelivery attempts) a consumer will poison ack and the
> message will go to the DLQ.
> A simple consumer create/close then create/receive with pending messages will
> demo this.
> true for queue consumers and durable topic subs
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)