AMQ-6958 Configure the AMQP Max Frame Size by default

Configure a value of 128KB for AMQP max frame size by default to improve
overall performance and provide a limit on delivery size before chunking
begins.
(cherry picked from commit b8cfab97db)
This commit is contained in:
Timothy Bish 2018-05-10 13:15:53 -04:00
parent 0e30927836
commit 0bd15a2a3e
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class AmqpWireFormat implements WireFormat {
public static final int DEFAULT_IDLE_TIMEOUT = 30000;
public static final int DEFAULT_PRODUCER_CREDIT = 1000;
public static final boolean DEFAULT_ALLOW_NON_SASL_CONNECTIONS = false;
public static final int DEFAULT_ANQP_FRAME_SIZE = NO_AMQP_MAX_FRAME_SIZE;
public static final int DEFAULT_ANQP_FRAME_SIZE = 128 * 1024;
private static final int SASL_PROTOCOL = 3;