Layer7 API Management

  • 1.  Delay configuration

    Posted Dec 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

    Broadcom Employee
    Posted Dec 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 Dec 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

    Broadcom Employee
    Posted Dec 19, 2017 01:47 PM

    Hello Vivek Awasthi,

     

    Yes, that is correct.