Search code examples
rabbitmqapache-camelamqpspring-rabbitrabbitmq-exchange

For high message volume, why for the same message am I getting frame_size error in rabbitmq?


I have a direct type exchange which is routing a message to a queue. I am getting frame size error.

I am using Apache camel camel_rabbitmq component for a message publishing.


Solution

  • You have provide few information, however I would say your problem is related to sending frames bigger frames than accepted. RabbitMQ supports five types of frames, where the BodyFrame is the one that can be splitted in more than one just in case the message is bigger tham max_frame_limit, which by the way defaults to 130K.

    Other frame types with size bigger than max limit could be the reason for them to break, maybe something you are adding to the headers of the AMQP message can be a hint.

    Hope this can help somehow, anyway if you provide more information that would help.