Camel Netty HTTP failing to consume large size incoming request

Solution Verified - Updated -

Environment

  • Red Hat JBoss Fuse
    • 6.1

Issue

  • When sending an HTTP request bigger than 1 MB, Netty HTTP throws an exception org.jboss.netty.handler.codec.frame.TooLongFrameException: HTTP content length exceeded 1048576 bytes.

Resolution

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments