Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 37359 invoked from network); 26 Nov 2009 16:50:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 16:50:17 -0000 Received: (qmail 69933 invoked by uid 500); 26 Nov 2009 16:50:17 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 69854 invoked by uid 500); 26 Nov 2009 16:50:16 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 69844 invoked by uid 99); 26 Nov 2009 16:50:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 16:50:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 16:50:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C09C3234C052 for ; Thu, 26 Nov 2009 08:49:52 -0800 (PST) Message-ID: <1370448247.1259254192786.JavaMail.jira@brutus> Date: Thu, 26 Nov 2009 08:49:52 -0800 (PST) From: "Dejan Bosanac (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-2515) Improve Optimized Acknowledgements behavior when transport is interrupted In-Reply-To: <1637312939.1259238112702.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dejan Bosanac resolved AMQ-2515. -------------------------------- Resolution: Fixed Fix Version/s: 5.4.0 5.3.1 fixed with svn revision 884633. Added some clearing when transport is interrupted. Also, implemented ack timeout, so we will send acks after 300ms if we don't have enough messages (for optimized ack). > Improve Optimized Acknowledgements behavior when transport is interrupted > -------------------------------------------------------------------------- > > Key: AMQ-2515 > URL: https://issues.apache.org/activemq/browse/AMQ-2515 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.3.0 > Reporter: Dejan Bosanac > Assignee: Dejan Bosanac > Fix For: 5.3.1, 5.4.0 > > > When transport is interrupted and there are unacked messages in the consumer, they are not properly cleaned, so we can get unmatched acknowledge exceptions after transport is resumed. > Also, we need to force ack if it doesn't happen in certain timeframe, since the current behavior can lead to hangs when consumer is interrupted often. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.