activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucille Wilson (JIRA)" <>
Subject [jira] [Commented] (AMQ-4335) Cannot set maxFrameSize greater than 100MB
Date Tue, 26 Feb 2013 16:34:12 GMT


Lucille Wilson commented on AMQ-4335:

Dear Christian,
I had the 5.6.0 jar in my client application.  I switch that out and put in the activemq-all-5.8.0.jar.
Now I can properly send TextMessage whose payload is over 100MB.  

The two changes I had to make were:
1. spell wireFormat correctly in the activemq.xml
2. add the activemq-all-5.8.0.jar to my project.

Thank you, Thank you, Thank you!

However, I have two suggestions for changes, please.
1. When the activemq project is distributed, the conf/activemq.xml spells wireformat with
a small 'f'.  Please fix this, because if you use the small 'f' then the maxFrameSize is not
set to a number other than the default. (I tested this).  

So activemq.xml should read:
            <!-- DOS protection, limit concurrent connections to 1000 and frame size to
100MB -->
            <transportConnector name="openwire" uri="tcp://;wireFormat.maxFrameSize=104857600"/>
            <transportConnector name="amqp" uri="amqp://;wireFormat.maxFrameSize=104857600"/>

2. Please document this a bit better. On this page:
Please mention that the default value is NOT max long, but 104857600 (i.e. 100MB), that the
value is the number of bytes (not megabytes, gigabytes or any other thing).

Thank you and thank Timothy for all your help.
Lucille Wilson
> 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:,, amq4335-small.xml,,,,,,, amq4335.xml,
> 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