You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cs...@apache.org on 2026/07/02 12:37:21 UTC

(activemq) branch activemq-6.2.x updated: Lower default maxFrameSize to 10 MB in xml config (#2166) (#2168)

This is an automated email from the ASF dual-hosted git repository.

cshannon pushed a commit to branch activemq-6.2.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-6.2.x by this push:
     new 0670904667 Lower default maxFrameSize to 10 MB in xml config (#2166) (#2168)
0670904667 is described below

commit 0670904667bdfd8570e2e95cde81270eb320d261
Author: Christopher L. Shannon <cs...@apache.org>
AuthorDate: Thu Jul 2 08:37:15 2026 -0400

    Lower default maxFrameSize to 10 MB in xml config (#2166) (#2168)
    
    The previous default was 100 MB but 10 MB makes more sense as a default,
    especially with maxInflatedDataSize defaulting to 100 MB.
    
    (cherry picked from commit 505f5a9c9924f18d3c23391bc0bb8de292e0e408)
---
 assembly/src/release/conf/activemq.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/assembly/src/release/conf/activemq.xml b/assembly/src/release/conf/activemq.xml
index 71285294a0..8aea601cfe 100644
--- a/assembly/src/release/conf/activemq.xml
+++ b/assembly/src/release/conf/activemq.xml
@@ -168,23 +168,23 @@
         -->
         <transportConnectors>
             <!--
-                DOS protection, limit concurrent connections to 1000 and frame size to 100MB.
+                DOS protection, limit concurrent connections to 1000 and frame size to 10MB.
 
                 WARNING: this openwire connector uses plain TCP and traffic is unencrypted. It is
                 intended for initial testing only. For production deployments it is strongly
                 recommended to use the SSL variant (ssl://) so that credentials and message
                 payloads are not transmitted in cleartext.
             -->
-            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
+            <transportConnector name="openwire" uri="tcp://0.0.0.0:61616?maximumConnections=1000&amp;wireFormat.maxFrameSize=10485760"/>
             <!--
                 Additional transports are disabled by default to reduce the exposed attack surface.
                 Uncomment only the protocols you actually need, and prefer the secured variants
                 (openwire+ssl, amqp+ssl, stomp+ssl, mqtt+nio+ssl, wss) in production deployments.
             -->
-            <!-- <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/> -->
-            <!-- <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/> -->
-            <!-- <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/> -->
-            <!-- <transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/> -->
+            <!-- <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=10485760"/> -->
+            <!-- <transportConnector name="stomp" uri="stomp://0.0.0.0:61613?maximumConnections=1000&amp;wireFormat.maxFrameSize=10485760"/> -->
+            <!-- <transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&amp;wireFormat.maxFrameSize=10485760"/> -->
+            <!-- <transportConnector name="ws" uri="ws://0.0.0.0:61614?maximumConnections=1000&amp;wireFormat.maxFrameSize=10485760"/> -->
         </transportConnectors>
 
         <!-- destroy the spring context on shutdown to stop jetty -->


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact