Example 2 – Asynchronous patterns for long-running APIs

Asynchronous communication patterns have important benefits in enterprise solution implementations. In async programming, the model client does not have to maintain an active thread to listen for an appropriate response from the backend system. Instead, the backend system will send a notification to the client when the system is ready to respond.

In Logic Apps, async patterns with APIs are implemented through polling and webhook patterns. In this exercise, we are going to cover both of these patterns so that whenever you are required to invoke long communications through Logic Apps, you can follow these patterns according to the requirements of your enterprise.

There are two asynchronous patterns that we can use in Logic Apps, which are described in the following sections:

  • The polling pattern
  • The webhook pattern
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.211.239