[
https://issues.apache.org/jira/browse/AMQ-5774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541821#comment-14541821
]
ASF GitHub Bot commented on AMQ-5774:
-------------------------------------
GitHub user cshannon opened a pull request:
https://github.com/apache/activemq/pull/98
Adding the ability to limit the maximum size of a message
Adding the ability to limit the maximum size of a message sent by a client
per transport.
This can be configured in on the transport connector in xml. For example:
```xml
<broker>
...
<transportConnectors>
<transportConnector name="nio" uri="nio://0.0.0.0:61616"
maximumMessageSize="1 mb"/>
</<transportConnectors>
...
</broker>
```
This resolves https://issues.apache.org/jira/browse/AMQ-5774
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cshannon/activemq AMQ-5774
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/98.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #98
----
commit 01d7a9e310e8c343b489242d2789c6d749a236e8
Author: Christopher L. Shannon (cshannon) <[email protected]>
Date: 2015-05-13T11:32:25Z
Adding the ability to limit the maximum size of a message sent by a client
per transport.
This resolves https://issues.apache.org/jira/browse/AMQ-5774
----
> 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)