Set the message size limit on the Router or Message Processor

Edge for Private Cloud v. 4.17.01

To prevent memory issues in Edge, message payload size on the Router and Message Processor is restricted to 10MB. Exceeding those sizes results in a protocol.http.TooBigBody error.

Use the following properties to change the limits on the Router, Message Processor, or both. Both properties have a default value of "10m" corresponding to 10MB:

  • conf_http_HTTPRequest.body.buffer.limit
  • conf_http_HTTPResponse.body.buffer.limit

To set these properties:

  1. Open the file or file in an editor. If the file does not exist, create it::
    > vi /opt/apigee/customer/application/

    > vi /opt/apigee/customer/application/
  2. Set the properties as desired:
  3. Save your changes.
  4. Make sure the properties file is owned by the 'apigee' user:
    > chown apigee:apigee /opt/apigee/customer/application/
    > chown apigee:apigee /opt/apigee/customer/application/
  5. Restart the Edge component:
    > /opt/apigee/apigee-service/bin/apigee-service edge-router restart

    > /opt/apigee/apigee-service/bin/apigee-service edge-message-processor restart
Was this page helpful? Let us know how we did:

Send feedback about...

Edge for Private Cloud v4.17.01