Repository: activemq Updated Branches: refs/heads/master 573b366ca -> b8cfab97d
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. Project: http://git-wip-us.apache.org/repos/asf/activemq/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/b8cfab97 Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/b8cfab97 Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/b8cfab97 Branch: refs/heads/master Commit: b8cfab97db9917cd3f20dc1a9676eef3ac0c999e Parents: 573b366 Author: Timothy Bish <[email protected]> Authored: Thu May 10 13:15:53 2018 -0400 Committer: Timothy Bish <[email protected]> Committed: Thu May 10 13:16: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/b8cfab97/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;
