activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
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 GMT
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"));



Mime
View raw message