This documentation is for WSO2 API Manager 2.5.0. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated for 2.5.0

...

  1. Create an XML file with the following content:

    Code Block
    languagexml
    titledisable chunking
    <?xml version="1.0" encoding="UTF-8"?>
    <sequence xmlns="http://ws.apache.org/ns/synapse" name="disableChunkingSeq">
       <property name="DISABLE_CHUNKING" value="true" scope="axis2"/>
    </sequence>
  2. Use the same sequence and apply it as a mediation extension to the inflow of this particular API. For more details, see Creating per-API extensions. Once the API is published, chunking is disabled for the message that is sent to the backend.

    Info

    To stop chunked messages from being sent to the client, you can apply the same mediation extension to the out sequence as well.