activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Help in ActiveMQ 5.6 maxframesize configuration.
Date Thu, 10 Jan 2013 16:05:12 GMT
Hi,

that looks strange, maybe your client is also using some setup that
keeps it at 100MB. The best thing to do is to enable debugging on
org.apache.activemq.transport package and see in the logs what they
negotiate.

You should see something like

2013-01-10 17:04:11,753 [0.1:61616@54421] - DEBUG WireFormatNegotiator
          - tcp://localhost/127.0.0.1:61616@54421 after negotiation:
OpenWireFormat{version=9, cacheEnabled=true, stackTraceEnabled=true,
tightEncodingEnabled=true, sizePrefixDisabled=false,
maxFrameSize=524288000}


Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosanac@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Thu, Jan 10, 2013 at 6:28 AM, rinotan <rinotanhk@gmail.com> wrote:
> Hi Guys,
>
> I would need help on the following.
> Currently I'm using activemq 5.6 and trying to send files that is above
> 100MB.
> I understand that the default configuration for wireFormat.maxFrameSize is
> 100MB.
>
> The configuration is as below:
> <transportConnectors>
>             <transportConnector name="openwire"
> uri="tcp://0.0.0.0:61616?maximumConnections=1000&ampwireFormat.maxFrameSize=524288000"
> discoveryUri="multicast/default"/>
>         </transportConnectors>
>
> But I still encounters error stating when i try to send a file that is more
> than 100MB:
> Transport Connection to: tcp//10.2.3.4:50123 failed: java.io.IOexception:
> Frame Size of 191 MB larger than max allowed 100MB.
>
> I have changed the maxFrameSize settings to 524288000 (500MB) but it still
> complain that I only set the size to 100MB.
>
>
> Would greatly appreciate your help for this.
> Thank you
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Help-in-ActiveMQ-5-6-maxframesize-configuration-tp4661585.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message