You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by st...@apache.org on 2006/12/13 18:28:53 UTC

svn commit: r486760 - /incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs

Author: steshaw
Date: Wed Dec 13 09:28:52 2006
New Revision: 486760

URL: http://svn.apache.org/viewvc?view=rev&rev=486760
Log:
QPID-182. Removed old GRM hack.

Modified:
    incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs

Modified: incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs?view=diff&rev=486760&r1=486759&r2=486760
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs (original)
+++ incubator/qpid/trunk/qpid/dotnet/Qpid.Client/Client/AmqChannel.cs Wed Dec 13 09:28:52 2006
@@ -803,19 +803,6 @@
                 message.Timestamp = currentTime;
             }
 
-            //
-            // Very nasty temporary hack for GRM. Will be altered ASAP.
-            // FIXME: Remove this hack.
-            //
-            if (message is QpidBytesMessage)
-            {
-                QpidBytesMessage msg = (QpidBytesMessage) message;
-                if (!msg.IsReadable)
-                {
-                    msg.Reset();
-                }
-            }
-
             ByteBuffer buf = message.Data;
             byte[] payload = null;
             if (buf != null)