Target timeout policy example

This example shows how to configure a target timeout policy for an API endpoint in the ION API Gateway.

The example demonstrates how to configure a target timeout policy for an API endpoint in the API Gateway. This policy defines the duration that the Gateway waits for a response from the target server before timing out. In this example, the timeout is set to 120000 milliseconds, which equals two minutes. If the target server does not respond within that time, the Gateway stops waiting and returns a timeout error.

Example policy schema:


      <targetTimeout xmlns="http://www.infor.com/ion/api"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.infor.com/ion/api targetTimeout.xsd"
      version="1.0" name="targetTimeout-example" displayName="targetTimeout-example" enabled="true">
      <timeout>120000</timeout> <!-- Milliseconds, Min 60000, Max 300000 -->
      </targetTimeout>