[ https://issues.apache.org/jira/browse/AMQ-4335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pat Flaherty updated AMQ-4335: ------------------------------ Attachment: BugInActivemq.zip 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 default) <transportConnector name="openwire" uri="tcp://0.0.0.0:61616? maximumConnections=1000&wireformat.maxFrameSize=157286400"/> (Goose to 150MB to handle 140MB message) <transportConnector name="amqp" uri="amqp://0.0.0.0:5672? maximumConnections=1000&wireformat.maxFrameSize=157286400"/> (Also goosed this connector to 150MB although it is not really necessary) - The test case source called TestActiveMqProducer.java. I hope this helps. Thanks again for looking into this for us. -Pat > Cannot set maxFrameSize greater than 100MB > ------------------------------------------ > > Key: AMQ-4335 > URL: https://issues.apache.org/jira/browse/AMQ-4335 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.8.0 > Environment: Windows 2008 R2 > Reporter: Pat Flaherty > Attachments: BugInActivemq.zip > > > Trying to send JSON messages greater then 100MB and I receive the error: > Transport Connection to: tcp://192.168.10.1:55823 failed: > java.io.IOException: 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://192.168.10.1:61616?maximumConnections=1000&wireformat.maxFrameSize=157286400"/> > <transportConnector name="amqp" > uri="amqp://0.0.0.0:5672?maximumConnections=1000&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: http://www.atlassian.com/software/jira