[ 
https://issues.apache.org/jira/browse/AMQ-5774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542065#comment-14542065
 ] 

Christopher L. Shannon commented on AMQ-5774:
---------------------------------------------

The use case is similar in that the max size would be set to prevent a DOS 
attack.  However, {{maxFrameSize}} is specific to OpenWire and a max message 
size is a more generic setting that can apply to any protocol.  What about 
other formats like AMQP, MQTT, STOMP, etc....would {{maxFrameSize}} still apply 
with those other formats?.  Also, what is the relation of an OpenWire frame to 
a message?  Is the frame size always going to be the same size as the message 
or are the values different? (ie can a message be chunked up into more than one 
frame)  It seems more logical to me to apply the limit to a specific message 
size than to specify it for a specific protocol.

> Add maximum message size per transport
> --------------------------------------
>
>                 Key: AMQ-5774
>                 URL: https://issues.apache.org/jira/browse/AMQ-5774
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 5.11.1
>            Reporter: Christopher L. Shannon
>            Priority: Minor
>
> It would be useful to be able to configure a limit for the maximum size per 
> message that can be sent by a client per transport.  This will help prevent 
> bad behaving clients from affecting the performance of the broker.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to