Gary Tully created AMQ-5513:
-------------------------------

             Summary: 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
             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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to