Layer7 API Management

  • 1.  Asynchronous call

    Posted Jul 23, 2018 05:01 PM

    How to make a Asynchronous call to a back end service in a policy. The UI which calls our policy doesn't want to wait for the completion of the call to get a Response.



  • 2.  Re: Asynchronous call
    Best Answer

    Broadcom Employee
    Posted Jul 23, 2018 06:58 PM

    Hello YeshwanthGowda18001269 ,

    The return template response to requestor assertion has an option to return the response to front end immediately.

    But, this option won't stop the execution of the policy, ie. all the assertions after this assertion will be executed even the response is sent to the front end.

     

    I believe that how you make the async call, return template response to  front end immediately and then route via http(s) to the backend service.

     

    Regards,

    Mark