activemq-dev mailing list archives

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


Timothy Bish commented on AMQ-4335:

1. I corrected the configuration file to use the right case.
2. The default is indeed Long.MAX_VALUE as you can find by code inspection of
the reason you were getting into this situation is that you had mixed an old client library
with a newer broker instance and that version of the client lib was sending wireFormat.maxFrameSize
of 100MB to the broker.  Wireformat negotiation always takes the LOWEST value of the two that
are exchanged at connection time which means no matter what you set on the broker if it was
greater than the client's 100mb value the broker always chose the lower one.  

This is why it a good idea not to mix older client's with newer broker's if you can help it
as issue fixed in the client and broker code can emerge and in some cases new more difficult
to find issues can appear.  
> 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