Wiki source code of crashcourse-messaging-messaging-asynchronous
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{html wiki="true"}} |
2 | <div class="ez-academy"> | ||
3 | <div class="ez-academy_body"> | ||
4 | |||
5 | <div class="doc"> | ||
6 | |||
7 | |||
8 | |||
9 | = Messaging Asynchronous = | ||
10 | |||
11 | In this microlearning, we will explain the basics of the asynchronous messaging pattern. | ||
12 | |||
13 | Should you have any questions, please get in touch with academy@emagiz.com. | ||
14 | |||
15 | * Last update: February 25th, 2021 | ||
16 | * Required reading time: 5 minutes | ||
17 | |||
18 | == 1. Prerequisites == | ||
19 | |||
20 | * Basic knowledge of the eMagiz platform | ||
21 | |||
22 | == 2. Key concepts == | ||
23 | |||
24 | This microlearning centers around the asynchronous messaging pattern in eMagiz. | ||
25 | 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. | ||
26 | |||
27 | Key characteristics of asynchronous messaging are: | ||
28 | |||
29 | * Non-blocking. The sender initiates the process and can continue with the following message | ||
30 | * Systems can therefore be loosely connected | ||
31 | * 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 | ||
32 | * Supports one-to-many distribution of messages over the integration landscape | ||
33 | |||
34 | |||
35 | |||
36 | == 3. Messaging Asynchronous == | ||
37 | |||
38 | Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
39 | Key characteristics of asynchronous messaging are: | ||
40 | |||
41 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
42 | * Systems can therefore be loosely connected | ||
43 | * 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 | ||
44 | * Supports one-to-many distribution of messages over the integration landscape | ||
45 | |||
46 | 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). | ||
47 | |||
48 | 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. | ||
49 | 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. | ||
50 | |||
51 | 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. | ||
52 | |||
53 | 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. | ||
54 | The sending system can continue to send data to eMagiz, and eMagiz will keep it in the queue until the scheduled maintenance is finished. | ||
55 | |||
56 | ===== Practice ===== | ||
57 | |||
58 | == 4. Assignment == | ||
59 | |||
60 | Analyze an asynchronous messaging flow from entry to exit and determine which queues are used in the process. | ||
61 | This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. | ||
62 | |||
63 | == 5. Key takeaways == | ||
64 | |||
65 | * Asynchronous messaging is the pre-dominant option when you implement a messaging integration via eMagiz. | ||
66 | * Key characteristics of asynchronous messaging are: | ||
67 | * Non-blocking. The sender initiates the process and can continue with the next message | ||
68 | * Systems can therefore be loosely connected | ||
69 | * 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 | ||
70 | |||
71 | |||
72 | |||
73 | == 6. Suggested Additional Readings == | ||
74 | |||
75 | If you are interested in this topic and want more information, please read the help text provided by eMagiz. | ||
76 | |||
77 | == 7. Silent demonstration video == | ||
78 | |||
79 | This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. | ||
80 | |||
81 | <iframe width="1280" height="720" src="../../vid/microlearning/crashcourse-messaging-messaging-asynchronous.mp4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
82 | |||
83 | </div> | ||
84 | </div> | ||
85 | </div> | ||
86 | |||
87 | {{/html}} |