This is an automated email from the ASF dual-hosted git repository.
cshannon pushed a commit to branch activemq-5.19.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.19.x by this push:
new 32e2079c32 Lower default maxFrameSize to 10 MB in xml config (#2166)
(#2169)
32e2079c32 is described below
commit 32e2079c32537dd758f31e7cec79ae38685ecb0c
Author: Christopher L. Shannon <[email protected]>
AuthorDate: Thu Jul 2 08:37:36 2026 -0400
Lower default maxFrameSize to 10 MB in xml config (#2166) (#2169)
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&wireFormat.maxFrameSize=104857600"/>
+ <transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=1000&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&wireFormat.maxFrameSize=104857600"/>
-->
- <!-- <transportConnector name="stomp"
uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
-->
- <!-- <transportConnector name="mqtt"
uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
-->
- <!-- <transportConnector name="ws"
uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
-->
+ <!-- <transportConnector name="amqp"
uri="amqp://0.0.0.0:5672?maximumConnections=1000&wireFormat.maxFrameSize=10485760"/>
-->
+ <!-- <transportConnector name="stomp"
uri="stomp://0.0.0.0:61613?maximumConnections=1000&wireFormat.maxFrameSize=10485760"/>
-->
+ <!-- <transportConnector name="mqtt"
uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=10485760"/>
-->
+ <!-- <transportConnector name="ws"
uri="ws://0.0.0.0:61614?maximumConnections=1000&wireFormat.maxFrameSize=10485760"/>
-->
</transportConnectors>
<!-- destroy the spring context on shutdown to stop jetty -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact