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

Keith Wall commented on QPID-6175:
----------------------------------

New context variable qpid.port.max_message_size now limits the size of the 
message that may be sent by a client.  Defaults to 500Mb.  If client tries to 
publish a message whose size exceeds this value, the channel will be closed 
with a status code MESSAGE_TOO_LARGE (311) or RESOURCE_LIMIT_EXCEEDED (506) for 
0-8..0-91 and 0-10 respectively.

Changes look reasonable to me.


> [Java Broker] Allow restricting maximum size of a message to be accepted by 
> the broker
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-6175
>                 URL: https://issues.apache.org/jira/browse/QPID-6175
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: 0.31
>
>
> As a protection against over large messages causing out of memory conditions 
> (and because generally very large messages are a bad idea) add the ability to 
> restrict the largest message size accepted.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to