Repository: activemq Updated Branches: refs/heads/activemq-5.15.x 0e3092783 -> 0bd15a2a3
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) Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/0bd15a2a Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/0bd15a2a Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/0bd15a2a Branch: refs/heads/activemq-5.15.x Commit: 0bd15a2a3eeb3c8423dd47d442dd29ba2a10a467 Parents: 0e30927 Author: Timothy Bish <[email protected]> Authored: Thu May 10 13:15:53 2018 -0400 Committer: Timothy Bish <[email protected]> Committed: Thu May 10 13:18:13 2018 -0400 ---------------------------------------------------------------------- .../java/org/apache/activemq/transport/amqp/AmqpWireFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq/blob/0bd15a2a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpWireFormat.java ---------------------------------------------------------------------- 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 7ddfc1f..033eae7 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;
