Wiki source code of Messaging Asynchronous
Last modified by Martijn Woudstra on 2022/08/11 16:10
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{container}}{{container layoutStyle="columns"}}((( | ||
| 2 | In this microlearning, we will explain the basics of the asynchronous messaging pattern. | ||
| 3 | |||
| 4 | Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. | ||
| 5 | |||
| 6 | == 1. Prerequisites == | ||
| 7 | |||
| 8 | * Basic knowledge of the eMagiz platform | ||
| 9 | |||
| 10 | == 2. Key concepts == | ||
| 11 | |||
| 12 | This microlearning centers around the asynchronous messaging pattern in eMagiz. | ||
| 13 | 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. | ||
| 14 | |||
| 15 | Key characteristics of asynchronous messaging are: | ||
| 16 | |||
| 17 | * Non-blocking. The sender initiates the process and can continue with the following message | ||
| 18 | * Systems can therefore be loosely connected | ||
| 19 | * 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 | ||
| 20 | * Supports one-to-many distribution of messages over the integration landscape | ||
| 21 | |||
| 22 | == 3. Messaging Asynchronous == | ||
| 23 | |||
| 24 | Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
| 25 | Key characteristics of asynchronous messaging are: | ||
| 26 | |||
| 27 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
| 28 | * Systems can therefore be loosely connected | ||
| 29 | * 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 | ||
| 30 | * Supports one-to-many distribution of messages over the integration landscape | ||
| 31 | |||
| 32 | 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). | ||
| 33 | |||
| 34 | 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. | ||
| 35 | 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. | ||
| 36 | |||
| 37 | 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. | ||
| 38 | |||
| 39 | 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. | ||
| 40 | The sending system can continue to send data to eMagiz, and eMagiz will keep it in the queue until the scheduled maintenance is finished. | ||
| 41 | |||
| 42 | == 4. Assignment == | ||
| 43 | |||
| 44 | Analyze an asynchronous messaging flow from entry to exit and determine which queues are used in the process. | ||
| 45 | This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. | ||
| 46 | |||
| 47 | == 5. Key takeaways == | ||
| 48 | |||
| 49 | * Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
| 50 | * Key characteristics of asynchronous messaging are: | ||
| 51 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
| 52 | * Systems can therefore be loosely connected | ||
| 53 | * 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 | ||
| 54 | |||
| 55 | == 6. Suggested Additional Readings == | ||
| 56 | |||
| 57 | If you are interested in this topic and want more information, please read the help text provided by eMagiz. | ||
| 58 | |||
| 59 | == 7. Silent demonstration video == | ||
| 60 | |||
| 61 | This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. | ||
| 62 | |||
| 63 | {{video attachment="crashcourse-messaging-messaging-asynchronous.mp4" reference="Main.Videos.Microlearning.WebHome"/}} | ||
| 64 | |||
| 65 | )))((({{toc/}}))){{/container}}{{/container}} |