[jboss-cvs] JBoss Messaging SVN: r4869 - branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Aug 26 05:05:26 EDT 2008


Author: ataylor
Date: 2008-08-26 05:05:26 -0400 (Tue, 26 Aug 2008)
New Revision: 4869

Modified:
   branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java
Log:
set max buffer size to 64k

Modified: branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java
===================================================================
--- branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java	2008-08-26 02:18:07 UTC (rev 4868)
+++ branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/remoting/impl/EncoderImpl.java	2008-08-26 09:05:26 UTC (rev 4869)
@@ -40,7 +40,7 @@
 public class EncoderImpl implements Encoder
 {
    private static final Charset utf8 = Charset.forName("UTF-8");
-   public static final int MAX_BUFFER_SIZE=1024;
+   public static final int MAX_BUFFER_SIZE=1024 * 64;
    protected List<MessagingBuffer> buffers = new ArrayList<MessagingBuffer>();
    protected MessagingBuffer currentBuffer = null;
    private int bufferPos = 0;




More information about the jboss-cvs-commits mailing list