[rabbitmq-discuss] Maximum Frame Setting Not Working

Rom rommel.carino.garcia at gmail.com
Wed Mar 2 02:14:58 GMT 2011


Hi Emile,

Thank you for the clarification. I did see this error in the log file.
I'm exploring rabbitmq to be our messaging platform that handles heavy
and very light payloads. There might be a node that will be dedicated
to processing mobile data which is very light and so I was thinking
that it might be a good idea to reduce the default frame size. Just a
thought.

Seems like the way to achieve that customized default behavior on the
frame size is to make changes to the rabbitmq.config file but I'm not
well familiar with the erl style configuration and the available
properties. Do you know of any references I could take a look at?

Thanks.

Rom

On Mar 1, 4:36 am, Emile Joubert <em... at rabbitmq.com> wrote:
> Hi Rom,
>
> On 01/03/11 03:55, Rom wrote:
>
>
>
>
>
>
>
>
>
> > I have successfully run a very simple message publisher with my
> > ConnectionFactory setting below.
>
> > ConnectionFactory factory = new ConnectionFactory();
> > factory.setUsername("rabbitmq"); factory.setPassword("rabbitmq");
> > factory.setVirtualHost("/4couchdb"); factory.setHost("rcgarcia74");
> > factory.setPort(ConnectionFactory.DEFAULT_AMQP_PORT);
> > factory.setRequestedChannelMax(100);
> > factory.setRequestedHeartbeat(300);
>
> > But when I start adding in the Maximum Frame size below, any number
> > that I put in doesn't work. Is there a variable that I need to set
> > at rabbitmq.conf? If it's in the conf file what's the key/vakue
> > pair?
>
> > factory.setRequestedFrameMax(1);
>
> AMQP specifies a minimum frame size of 4kb. You should see this in the
> broker logfile after that attempt:
>
>    amqp_error,not_allowed,"frame_max=1 < 4096 min size"
>
> The solution is to use values of 4096 or higher.
>
> What are you trying to accomplish by changing the default frame size
> (128kb)?
>
> Regards
>
> Emile
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list