Layer7 API Management

 View Only
  • 1.  Re: Async call to Backend service from API Gateway

    Posted Jun 22, 2021 08:38 AM
    Hello All,

    Please let me know is there any option in Gateway to make asynchronous call to backend service. Our requirement is to make an asynchronous outbound call from gateway with the request received.

    Thanks!


  • 2.  RE: Re: Async call to Backend service from API Gateway

    Broadcom Employee
    Posted Jun 22, 2021 06:55 PM
    Dear Prem,
    Async outbound traffic is not currently supported, you're welcome to submit an idea ticket on our community, and provide more details of your use case,
    https://community.broadcom.com/enterprisesoftware/ideation/allideas?Page=1&CategoryKeys=09f1ac90-f043-4b70-8b2d-412d2f9afe4c&StatusKeys=&Sort=MostRecent

    For now, you may need something in the middle (such as MQ) to async the processing.

    Regards,
    Mark


  • 3.  RE: Re: Async call to Backend service from API Gateway

    Posted Jun 24, 2021 09:25 AM
    Thanks Mark!


  • 4.  RE: Re: Async call to Backend service from API Gateway

    Broadcom Employee
    Posted Jun 23, 2021 02:31 PM
    Hello Prem,

    The gateway does not support asynchronous API's.  but we can provide ability to respond to a request and then continue processing policy and backend routing after.  Using the "Return Template Response"  assertion with the "Send Response Immediately" check box selected whatever you specify to the assertion be returned will be sent as response as soon as the assertion is called but the policy will continue processing logic after. The problem with this is you have already responded to the requestor so if there is a subsequent failure in policy processing or routing the requestor would not know. 

    you can find more details regarding this in the documentation.
    https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/policy-assertions/assertion-palette/message-routing-assertions/return-template-response-to-requestor-assertion.html