[ https://issues.apache.org/jira/browse/AMQ-5907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-5907. ------------------------------- Resolution: Fixed > 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.0, 5.11.1 > 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)