Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 86558 invoked from network); 10 Apr 2008 11:43:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2008 11:43:42 -0000 Received: (qmail 24802 invoked by uid 500); 10 Apr 2008 11:43:39 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 24777 invoked by uid 500); 10 Apr 2008 11:43:39 -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 23927 invoked by uid 99); 10 Apr 2008 11:43:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 04:43:36 -0700 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, 10 Apr 2008 11:42:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7090F234C0CE for ; Thu, 10 Apr 2008 04:40:44 -0700 (PDT) Message-ID: <1538839380.1207827644460.JavaMail.jira@brutus> Date: Thu, 10 Apr 2008 04:40:44 -0700 (PDT) From: "Rob Davies (JIRA)" To: dev@activemq.apache.org Subject: [jira] Resolved: (AMQ-1027) Failover transport incorrectly handles prefetched messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Davies resolved AMQ-1027. ----------------------------- Fix Version/s: 5.1.0 (was: 5.2.0) Resolution: Fixed > Failover transport incorrectly handles prefetched messages > ---------------------------------------------------------- > > Key: AMQ-1027 > URL: https://issues.apache.org/activemq/browse/AMQ-1027 > Project: ActiveMQ > Issue Type: Bug > Components: Connector > Affects Versions: 4.0.2 > Environment: Linux (Kernel 2.6), jdk 1.5.0_08 > Reporter: Danielius Jurna > Assignee: Rob Davies > Fix For: 5.1.0 > > Attachments: FailoverConsumerTest.java > > > After failover transport reconnect, if there is prefetched messages on the client, client sends invalid ack messages to the server. After that client stops receiving messages and it must be restarted. > This happens only when there are more messages in the queue, than queue prefetch size. > There is attached test case, which reproduces this error. Unfortunately, theres error in NetworkTestSupport.restartRemoteBroker() (after restart client cannot receive messages left in the queue). So you must use external broker an restart it manually, when the test asks you to do that. Should I report this bug in Component "Test cases"? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.