Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 46443 invoked from network); 26 Aug 2010 19:26:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Aug 2010 19:26:00 -0000 Received: (qmail 3359 invoked by uid 500); 26 Aug 2010 19:26:00 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 3307 invoked by uid 500); 26 Aug 2010 19:25:59 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 3300 invoked by uid 99); 26 Aug 2010 19:25:59 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 19:25:59 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Aug 2010 19:25:42 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 6B34023889D5; Thu, 26 Aug 2010 19:24:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r989892 - /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs Date: Thu, 26 Aug 2010 19:24:24 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100826192424.6B34023889D5@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tabish Date: Thu Aug 26 19:24:24 2010 New Revision: 989892 URL: http://svn.apache.org/viewvc?rev=989892&view=rev Log: fix for: https://issues.apache.org/activemq/browse/AMQNET-277 Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs?rev=989892&r1=989891&r2=989892&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompWireFormat.cs Thu Aug 26 19:24:24 2010 @@ -217,6 +217,10 @@ namespace Apache.NMS.Stomp.Protocol // sent with response required set to true frame.RemoveProperty("receipt"); + // Clear any attached content length headers as they aren't needed anymore and can + // clutter the Message Properties. + frame.RemoveProperty("content-length"); + message.Type = frame.RemoveProperty("type"); message.Destination = StompHelper.ToDestination(frame.RemoveProperty("destination")); message.ReplyTo = StompHelper.ToDestination(frame.RemoveProperty("reply-to"));