Dynamically set the io.timeout and connect.timeout in HTTPTargetConnection

Hi Apigee Community,

I've seen a similar thread regarding the same concern but just wanted to verify if there is a workaround to dynamically set the values of the read and connect timeout in the HTTPTargetConnection. Sample config below:

 

    <HTTPTargetConnection>
        <Properties>
            <Property name="success.codes">2XX, 4XX, 500</Property>
            <Property name="io.timeout.millis">{readTimeout}</Property>
            <Property name="connect.timeout.millis">{connectTimeout}</Property>
        </Properties>
    </HTTPTargetConnection>

Regards,

Ryan

0 0 47
0 REPLIES 0