Layer 7 API Management

Expand all | Collapse all

Asynchronous call

Jump to Best Answer
  • 1.  Asynchronous call

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

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