How to conditionally set io.timeout.millis for the target system?

I know for a target, the timeout can be specified with the property io.timeout.millis.

I have a requirement to set dynamic timeouts(30 and 45 seconds for different scenarios).

How can this be achieved without creating 2 target endpoints (1 for each timeout).

Please suggest.

0 2 90
2 REPLIES 2

Target Endpoints' properties cannot be set using variables, so you would need to create additional target endpoints.

I have opened a feature request to track this.  Ref b/199159748 .