Layer7 API Management

Expand all | Collapse all

Delay configuration

Jump to Best Answer
  • 1.  Delay configuration

    Posted 12-18-2017 12:26 PM

    Hi Team,

     

    Is there a way to delay the message communication to downstream service deliberately using CA Gateway policy service assertions?



  • 2.  Re: Delay configuration
    Best Answer

    Posted 12-18-2017 01:31 PM

    Hello Vivek Awasthi,

     

    The delay tactical assertion is a very simple assertion that effectively causes the execution of the policy to sleep for a given time. The assertion can be useful in testing and development whenever some latency needs to be simulated. This assertion is not intended for production usage.  To request this tactical assertion please open a case with support. 



  • 3.  Re: Delay configuration

    Posted 12-19-2017 04:36 AM

    Hi Hogma,

     

    Thanks for quick reply that was helpful.

     

    When you say execution of the policy to sleep, I believe only the thread that is currently executing the policy will go to sleep mode for defined seconds/milliseconds.  Is my understanding correct?



  • 4.  Re: Delay configuration

    Posted 12-19-2017 01:47 PM

    Hello Vivek Awasthi,

     

    Yes, that is correct.