[jboss-cvs] JBoss Messaging SVN: r4880 - in branches/Branch_Message_Chunking_new/src: main/org/jboss/messaging/core/message/impl and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 27 10:10:45 EDT 2008


Author: ataylor
Date: 2008-08-27 10:10:45 -0400 (Wed, 27 Aug 2008)
New Revision: 4880

Modified:
   branches/Branch_Message_Chunking_new/src/config/jbm-configuration.xml
   branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
Log:
tidied up

Modified: branches/Branch_Message_Chunking_new/src/config/jbm-configuration.xml
===================================================================
--- branches/Branch_Message_Chunking_new/src/config/jbm-configuration.xml	2008-08-27 12:12:11 UTC (rev 4879)
+++ branches/Branch_Message_Chunking_new/src/config/jbm-configuration.xml	2008-08-27 14:10:45 UTC (rev 4880)
@@ -55,7 +55,7 @@
       <!-- If no pong is received after this time resources are cleaned up-->
       <remoting-ping-timeout>5000</remoting-ping-timeout>
 
-      <remoting-max-buffer-size>65536</remoting-max-buffer-size>
+      <remoting-max-buffer-size>1450</remoting-max-buffer-size>
      
       <!--  if ssl is enabled, all remoting-ssl-* properties must be set -->
       <remoting-enable-ssl>false</remoting-enable-ssl>

Modified: branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
===================================================================
--- branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-08-27 12:12:11 UTC (rev 4879)
+++ branches/Branch_Message_Chunking_new/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-08-27 14:10:45 UTC (rev 4880)
@@ -253,7 +253,7 @@
       /* Timestamp */ SIZE_LONG +
       /* Priority */ SIZE_BYTE +
       /* PropertySize and Properties */ properties.getEncodeSize() +
-      /* BodySize and Body */ SIZE_INT + getBodySize() + (buffers.size() * PacketImpl.BUFFER_HEADER_SIZE);
+      /* BodySize and Body */ SIZE_INT + getBodySize();// + (buffers.size() * PacketImpl.BUFFER_HEADER_SIZE);
    }
 
 




More information about the jboss-cvs-commits mailing list