the MESSAGE_SIZE_OVERHEAD was too low - increased it to a more realistic size

Please note - this is related to the overhead in broker memory - not 
the on-the-wire size - which is small

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581882 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-10-04 12:49:37 +00:00
parent 5f8c101973
commit 805a0cc506
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ import org.apache.activemq.wireformat.WireFormat;
*/ */
public abstract class Message extends BaseCommand implements MarshallAware, MessageReference { public abstract class Message extends BaseCommand implements MarshallAware, MessageReference {
public static final int AVERAGE_MESSAGE_SIZE_OVERHEAD = 500; public static final int AVERAGE_MESSAGE_SIZE_OVERHEAD = 8 * 1024;
protected MessageId messageId; protected MessageId messageId;
protected ActiveMQDestination originalDestination; protected ActiveMQDestination originalDestination;