activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pat Flaherty (JIRA)" <>
Subject [jira] [Updated] (AMQ-4335) Cannot set maxFrameSize greater than 100MB
Date Wed, 20 Feb 2013 22:35:14 GMT


Pat Flaherty updated AMQ-4335:


Hi Tim,

Lucille here wrote a test case for this apparent bug. See attached zip  
file. The zip file contains the following:

-The 140MB JSON message we are trying to send.

- My activemq.xml with the following changes:
	<policyEntry queue=">" producerFlowControl="true"  
memoryLimit="20mb">   (Defaults to 1MB)
         <managementContext createConnector="true"/>  (We set this to  
true for management purposes)
         <memoryUsage limit="950 mb"/>   (We goose this from the 64MB  
          <transportConnector name="openwire" uri="tcp:// 
          (Goose to 150MB to handle 140MB message)
          <transportConnector name="amqp" uri="amqp:// 
          (Also goosed this connector to 150MB although it is not  
really necessary)

- The test case source called

I hope this helps.

Thanks again for looking into this for us.


> Cannot set maxFrameSize greater than 100MB
> ------------------------------------------
>                 Key: AMQ-4335
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.8.0
>         Environment: Windows 2008 R2
>            Reporter: Pat Flaherty
>         Attachments:
> Trying to send JSON messages greater then 100MB and I receive the error:
> Transport Connection to: tcp:// failed: Frame
size of 140 MB larger
>  than max allowed 100 MB
> I tried increasing the frame size in 5.8.0 as follows:
>         <transportConnectors>
>             <!-- DOS protection, limit concurrent connections to 1000 and frame size
to 100MB -->
>             <transportConnector name="openwire" uri="tcp://;wireformat.maxFrameSize=157286400"/>
>             <transportConnector name="amqp" uri="amqp://;wireformat.maxFrameSize=157286400"/>
>         </transportConnectors> 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message