Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

TargetEndpoint property setting using KVM

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 293
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