You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/07/30 23:18:04 UTC

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

    [ https://issues.apache.org/jira/browse/AMQ-5907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648322#comment-14648322 ] 

ASF subversion and git services commented on AMQ-5907:
------------------------------------------------------

Commit b84413a31471e0c9e949cd7198ee952d063dfb61 in activemq's branch refs/heads/master from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq.git;h=b84413a ]

https://issues.apache.org/jira/browse/AMQ-5907

recompute the timeout value and send a new pull request if the message
received exceeds the configure redelivery maximum. 

> 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)