You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Sergiu Pantiru (JIRA)" <ji...@apache.org> on 2016/10/25 09:44:58 UTC
[jira] [Created] (AMQ-6480) receiveNoWait hangs when broker is back
up, using failover and prefetch=0
Sergiu Pantiru created AMQ-6480:
-----------------------------------
Summary: 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)