Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 33979 invoked from network); 13 May 2008 11:41:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 11:41:08 -0000 Received: (qmail 10983 invoked by uid 500); 13 May 2008 11:41:10 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 10807 invoked by uid 500); 13 May 2008 11:41:09 -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 10796 invoked by uid 99); 13 May 2008 11:41:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 04:41:09 -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; Tue, 13 May 2008 11:40:23 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 392B2234C10F for ; Tue, 13 May 2008 04:40:44 -0700 (PDT) Message-ID: <1378517054.1210678844219.JavaMail.jira@brutus> Date: Tue, 13 May 2008 04:40:44 -0700 (PDT) From: =?UTF-8?Q?Carel-Andre_G=C3=A5semyr_=28JIRA=29?= To: dev@activemq.apache.org Subject: [jira] Created: (AMQ-1722) Consumer not detectecting broker restart/stopping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Consumer not detectecting broker restart/stopping -------------------------------------------------- Key: AMQ-1722 URL: https://issues.apache.org/activemq/browse/AMQ-1722 Project: ActiveMQ Issue Type: Bug Components: Connector Affects Versions: 5.1.0 Environment: Windows XP, eclipse 3.2 Reporter: Carel-Andre G=C3=A5semyr I have a test to assure a message consumer is still consuming messages afte= r a central broker restart, using org.springframework.jms.listener.DefaultM= essageListenerContainer. The channel never detects the broker shutting down.=20 org.apache.activemq.MessageDispatchChannel.isClosed() returns "false" when = org.apache.activemq.ActiveMQMessageConsumer is validating the connection. I found org.apache.activemq.MessageDispatchChannel.close() is newer called = when the broker is stopped. This was working in 5.0.0 --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.