Wiki source code of crashcourse-messaging-messaging-asynchronous
Version 2.2 by Erik Bakker on 2022/06/13 11:16
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{container}}{{container layoutStyle="columns"}}((( | ||
| 2 | = Messaging Asynchronous = | ||
| 3 | |||
| 4 | In this microlearning, we will explain the basics of the asynchronous messaging pattern. | ||
| 5 | |||
| 6 | Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. | ||
| 7 | |||
| 8 | * Last update: February 25th, 2021 | ||
| 9 | * Required reading time: 5 minutes | ||
| 10 | |||
| 11 | == 1. Prerequisites == | ||
| 12 | |||
| 13 | * Basic knowledge of the eMagiz platform | ||
| 14 | |||
| 15 | == 2. Key concepts == | ||
| 16 | |||
| 17 | This microlearning centers around the asynchronous messaging pattern in eMagiz. | ||
| 18 | By asynchronous, we mean: The process that processes data without returning to the sending system with an update on whether the data was processed successfully. | ||
| 19 | |||
| 20 | Key characteristics of asynchronous messaging are: | ||
| 21 | |||
| 22 | * Non-blocking. The sender initiates the process and can continue with the following message | ||
| 23 | * Systems can therefore be loosely connected | ||
| 24 | * Messages can temporarily be kept in the queue if an end system to which the messages need to be delivered is scheduled to go offline | ||
| 25 | * Supports one-to-many distribution of messages over the integration landscape | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | == 3. Messaging Asynchronous == | ||
| 30 | |||
| 31 | Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
| 32 | Key characteristics of asynchronous messaging are: | ||
| 33 | |||
| 34 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
| 35 | * Systems can therefore be loosely connected | ||
| 36 | * Messages can temporarily be kept in the queue if an end system to which the messages need to be delivered is scheduled to go offline | ||
| 37 | * Supports one-to-many distribution of messages over the integration landscape | ||
| 38 | |||
| 39 | With this method, the sending party supplies the data to eMagiz (via push or pull). eMagiz, in turn, places the data on a queue (in most cases an onramp queue). | ||
| 40 | |||
| 41 | This logic means there is no need for the external system to wait for a reply to see what the other system thinks of the message. | ||
| 42 | Furthermore, the system can supply the data somewhere and forget about it. eMagiz will ensure to deliver the information to all systems that want to receive the data. | ||
| 43 | |||
| 44 | Because of this loose coupling between systems via the asynchronous five-layer model in eMagiz, you can add supplying and receiving systems quickly and replace them if necessary. | ||
| 45 | |||
| 46 | On top of that, it gives you the option to keep data in a queue temporarily. This functionality is, for example, convenient if there is scheduled maintenance in one of the receiving systems. | ||
| 47 | The sending system can continue to send data to eMagiz, and eMagiz will keep it in the queue until the scheduled maintenance is finished. | ||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | == 4. Assignment == | ||
| 52 | |||
| 53 | Analyze an asynchronous messaging flow from entry to exit and determine which queues are used in the process. | ||
| 54 | This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. | ||
| 55 | |||
| 56 | == 5. Key takeaways == | ||
| 57 | |||
| 58 | * Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
| 59 | * Key characteristics of asynchronous messaging are: | ||
| 60 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
| 61 | * Systems can therefore be loosely connected | ||
| 62 | * Messages can temporarily be kept in the queue if an end system to which the messages need to be delivered is scheduled to go offline | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | == 6. Suggested Additional Readings == | ||
| 67 | |||
| 68 | If you are interested in this topic and want more information, please read the help text provided by eMagiz. | ||
| 69 | |||
| 70 | == 7. Silent demonstration video == | ||
| 71 | |||
| 72 | This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. | ||
| 73 | |||
| 74 | {{video attachment="crashcourse-messaging-messaging-asynchronous.mp4" reference="Main.Videos.Microlearning.WebHome"/}} | ||
| 75 | |||
| 76 | )))((({{toc/}}))){{/container}}{{/container}} |