timeout in Apigee Target endpoint using HTTPTargtConnection Properties

Hi all,

Is their any way to dynamically set these properties values per environment ?

30000

30000

http://www.apigee.com

According to the docs:
Property values can only be literals. You cannot set values using variables.

The only solution I see would be to create multiple targetEndpoints using a routerule based on environment.

<RouteRule name="MyRoute">  
	<Condition>environment.name === 'dev'</Condition>
	<TargetEndpoint>TargetEndpoint1</TargetEndpoint>
</RouteRule>

1 Like

Thank you Reinier. It helps