I am able to retrieve timeout value from KVM and store it in the variable. But when i use the same variable in the below code i get deployment errors
<TargetEndpoint name="abc">
<Description/>
<HTTPTargetConnection>
<Properties>
<Property name="connect.timeout.millis" ref="myvar"/>
</Properties>
Could someone please advice on how to go about this and whether we can reference a variable or not in the Propert Tag
Thanks
Hi @Pooja Rajiv Sheth the property element only has a "name" attribute. Additionally you can only have one or more values (depending on the kind of property) but no variable references, eg:
<Properties> <Property name="connect.timeout.millis">2000</Property> </Properties>
Having a variable reference in a property setting of a target connection could be tricky, what if the runtime value of the variable is -1 or 1 whereas it typically is 3000 or more, the state of the proxy could be affected.
Thanks Prithpal , Could you suggest any other way by which I can configure the timeout value to be retrieved at runtime from some place rather than hardcoding the value in the Property Tag.