Hi ,
I need to send large amount of data (around 250M) in Apigee proxy resposne.
will it possible by enabling streaming as there is timeout .(52 sec normally for one req)..
Thanks.
Yes it is possible. You can achieve it using properties in your target & proxy endpoints
Refer this link
For eg.
<TargetEndpoint name="default"> <HTTPTargetConnection> <URL>http://mocktarget.apigee.net</URL> <Properties> <Property name="response.streaming.enabled">true</Property> <Property name="request.streaming.enabled">true</Property> <Property name="connect.timeout.millis">52000</Property> </Properties> </HTTPTargetConnection> </TargetEndpoint>
Just make sure you enable streaming on the target and proxy endpoints, per the doc in the link above. You may also have to pay attention to the timeouts as mentioned by Snehal, as depending on the connections, it may require more time to stream the full payload.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |