Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 31000 invoked from network); 26 Oct 2006 06:28:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:28:27 -0000 Received: (qmail 54761 invoked by uid 500); 24 Oct 2006 11:23:13 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 54739 invoked by uid 500); 24 Oct 2006 11:23:13 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 54730 invoked by uid 99); 24 Oct 2006 11:23:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 04:23:13 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 04:23:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F6FA71408A for ; Tue, 24 Oct 2006 04:22:02 -0700 (PDT) Message-ID: <20660696.1161688922631.JavaMail.root@brutus> Date: Tue, 24 Oct 2006 04:22:02 -0700 (PDT) From: "Rob Lugt (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Updated: (AMQ-995) An unhandled exception in the TcpTransports' reader thread should close the connection (and inform the app) In-Reply-To: <4442951.1161261976808.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-995?page=all ] Rob Lugt updated AMQ-995: ------------------------- Attachment: (was: amq995-patch.txt) > An unhandled exception in the TcpTransports' reader thread should close the connection (and inform the app) > ----------------------------------------------------------------------------------------------------------- > > Key: AMQ-995 > URL: https://issues.apache.org/activemq/browse/AMQ-995 > Project: ActiveMQ > Issue Type: Bug > Components: NMS (C# client) > Affects Versions: 4.0.2 > Environment: Windows > Reporter: Rob Lugt > Assigned To: james strachan > Attachments: AtomicBoolean.cs > > > If the reader thread throws an exception (e.g. IOException) then the socket should be closed to prevent further messages being sent to the broker. If an exception is thrown during the marshalling of a message then there's no way for the stream to be set to the beginning of the next message, so all communication with the broker should cease at that point. Similarly, if the broker is killed, an IOException will probably be detected in the read thread first. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira