qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arnaudsi...@apache.org
Subject svn commit: r581965 - /incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java
Date Thu, 04 Oct 2007 16:38:42 GMT
Author: arnaudsimon
Date: Thu Oct  4 09:38:38 2007
New Revision: 581965

URL: http://svn.apache.org/viewvc?rev=581965&view=rev
Log:
Changed buildReadBuffer for flipping the buffer when data is received in samll chunks

Modified:
    incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java

Modified: incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java?rev=581965&r1=581964&r2=581965&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java
(original)
+++ incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpidity/nclient/util/ByteBufferMessage.java
Thu Oct  4 09:38:38 2007
@@ -109,6 +109,7 @@
             {
                 _readBuffer.put(buf);
             }
+            _readBuffer.flip();
         }
     }
     



Mime
View raw message