Change the timeout value of the Service Callout policy dynamically

Not applicable

Hi,


We try to change the timeout value of the Service Callout policy dynamically (via Management UI,). For this, we tried to put a global variable with key/map and use this variable in the policy like this <Timeout> {variable} </Timeout> or it does not work.
Is it possible to change the timeout of the Service Callout policy dynamically?


Same question for the count of the Concurrent Rate Limit policy.

Can you help us to find a solution?

0 2 359
2 REPLIES 2

g-gagan1000
Participant III

Hi @Amine EL KHARROUBI,

There are some variables in policies which needs to have the hard coded values and cannot be defined dynamically.

The value "Timeout" in Service Callout Policy cannot be defined dynamically. Same is the case with "count" attribute in Concurrent Rate Limit Policy.

Hope this helps! 🙂

Thanks @Gagandeep Singh