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 2016/10/25 14:09:59 UTC

[jira] [Commented] (AMQ-6480) receiveNoWait hangs when broker is back up, using failover and prefetch=0

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

Timothy Bish commented on AMQ-6480:
-----------------------------------

Have you tested on a current release?  5.7.0 is no longer supported.  

> receiveNoWait hangs when broker is back up, using failover and prefetch=0
> -------------------------------------------------------------------------
>
>                 Key: AMQ-6480
>                 URL: https://issues.apache.org/jira/browse/AMQ-6480
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.7.0
>            Reporter: Sergiu Pantiru
>
> I have a consumer that keeps a message(session opened) for 1 minute and than acknowledges it and commits the session. The thread is finished once the session is closed. 
> If ActiveMq dies before message is ack, i still close the session/consumer to free the thread.
> When ActiveMq is back up, a new thread (new consumer/session) tries to receiveNoWait and this call blocks because it does not receive any message. 
> There is a poison ack sent before it hangs.



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