Response streaming with policy enabled

Hi All,

I am getting "Body Buffer Overflow " error from downstream system. As the response from down stream system is more than 10MB.

I am doing conversion of SOAP to pdf into response as callout method in my existing solution

Is it still possible with enabling response ?

How I can keep my previous policies untouched with Streaming enabled?

<Propertyname="response.streaming.enabled">true</Property>
0 5 201
5 REPLIES 5

Not applicable

When you enable streaming don't perform operations on payload in Apigee, that may create problem for you.

The other option is increase th payload restriction size in rmp.

You enable streaming if you are not touching the payload inside Apigee policies.

Thanks Priyadarshi Ajitav Jen for your response.

Will there be any performance impact if we increase payload restriction size in response message processor ?

Yes, it will increase the wait time for other proxies sometime. If you are increasing little that won't have much impact.

If you can put the content length limit on the response in other proxies then it will not impact much as the other proxies will not wait for more response payload.

Hmm I will be downloading pdf files upto 200 MB in response

If it's 200MB , I would suggest you to do pagination at the service end. All other options will be inefficient.