TargetEndpoint property setting using KVM

ushanj2015
Participant I

how to set "connect.timeout.millis" value referring the KVM.? have used the KVM policy to get key value and assigned to a varible and trying to use that variable in property tag like <Property name="connect.timeout.millis">{Test-Target-timeout}</Property. If this line is added to code, proxy is deploying with unexpected error. Please suggest

0 2 258
2 REPLIES 2

You cannot use variables in properties, only literals are allowed. See here https://docs.apigee.com/api-services/reference/endpoint-properties-reference

Hope it helps

thanks. Is there any alternate way to achieve this? Please sugest