Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 53430 invoked from network); 19 Oct 2006 13:28:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 13:28:21 -0000 Received: (qmail 55099 invoked by uid 500); 19 Oct 2006 13:28:21 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 55072 invoked by uid 500); 19 Oct 2006 13:28:21 -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 55063 invoked by uid 99); 19 Oct 2006 13:28:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 06:28:20 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 06:28:20 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 096D0714316 for ; Thu, 19 Oct 2006 06:27:20 -0700 (PDT) Message-ID: <23211411.1161264440036.JavaMail.jira@brutus> Date: Thu, 19 Oct 2006 06:27:20 -0700 (PDT) From: "Rob Lugt (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Closed: (AMQ-994) .Net client TcpTransport does not prevent concurrent access to BinaryWriter In-Reply-To: <20026283.1161258677693.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ https://issues.apache.org/activemq/browse/AMQ-994?page=all ] Rob Lugt closed AMQ-994. ------------------------ Resolution: Won't Fix The writer is already protected by a MutexTransport in .Net just as it is in Java. How did I miss this?? > .Net client TcpTransport does not prevent concurrent access to BinaryWriter > --------------------------------------------------------------------------- > > Key: AMQ-994 > URL: https://issues.apache.org/activemq/browse/AMQ-994 > Project: ActiveMQ > Issue Type: Bug > Components: NMS (C# client) > Affects Versions: 4.0.2 > Environment: Windows > Reporter: Rob Lugt > Attachments: patch-amq994.txt > > > A client application using multiple sessions may write multiple messages concurrently. The underlying TcpTransport does not synchronize access to its BinaryWriter, resulting in possible data message corruption or worse. > The TcpTransportFactory in the Java client uses a MutexTransport to protect the underlying socket. This technique would work equally well in the .Net client, but I propose simply locking the writer as the TcpTransport should argueably protect itselft rather than relying on the factory to provide protection. -- 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