You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2015/07/30 22:49:04 UTC

[jira] [Created] (AMQ-5907) Pull consumer can hang in receive if RedeliveryPolicy is configured with max redeliveries

Timothy Bish created AMQ-5907:
---------------------------------

             Summary: Pull consumer can hang in receive if RedeliveryPolicy is configured with max redeliveries 
                 Key: AMQ-5907
                 URL: https://issues.apache.org/jira/browse/AMQ-5907
             Project: ActiveMQ
          Issue Type: Bug
          Components: JMS client
    Affects Versions: 5.11.1, 5.11.0
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 5.12.0


For a pull consumer (prefetch = 0) with a redelivery policy that enforces maximum redeliveries we now eagerly poison the incoming messages if they exceed the maximum redelivery value.  The consumer does not attempt to issue another pull request in this case which can stall receive().  

Also the consumer does not recompute the timeout if one is set leading to a longer wait than might otherwise be expected. 



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