From 0bd15a2a3eeb3c8423dd47d442dd29ba2a10a467 Mon Sep 17 00:00:00 2001 From: Timothy Bish Date: Thu, 10 May 2018 13:15:53 -0400 Subject: [PATCH] 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 b8cfab97db9917cd3f20dc1a9676eef3ac0c999e) --- .../java/org/apache/activemq/transport/amqp/AmqpWireFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpWireFormat.java b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpWireFormat.java index 7ddfc1f2b1..033eae7c0b 100644 --- a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpWireFormat.java +++ b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpWireFormat.java @@ -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;