Changes for page Asynchronous Routing

Last modified by Danniar Firdausy on 2024/09/04 09:01

From version 18.1
edited by eMagiz
on 2022/06/13 11:34
Change comment: There is no comment for this version
To version 13.1
edited by eMagiz
on 2022/05/10 11:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -Asynchronous Routing
Parent
... ... @@ -1,1 +1,0 @@
1 -WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.eMagiz
1 +XWiki.marijn
Content
... ... @@ -1,7 +1,16 @@
1 -{{container}}{{container layoutStyle="columns"}}(((
1 +{{html wiki="true"}}
2 +<div class="ez-academy">
3 + <div class="ez-academy_body">
4 +
5 +<div class="doc">
6 +
7 +
8 +
9 += Asynchronous Routing =
10 +
2 2  In this microlearning, we will explain the basics of asynchronous routing that plays a vital role in the distribution of messages within the five-layer model of messaging.
3 3  
4 -Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
13 +Should you have any questions, please contact academy@emagiz.com.
5 5  
6 6  * Last update: February 25th, 2021
7 7  * Required reading time: 7 minutes
... ... @@ -21,6 +21,8 @@
21 21  * Based on a decision made within the routing the message is routed to one or more offramp queues
22 22  * Each offramp queue will receive data based on the decision unless you add another filter before the messages are sent to the offramp queue
23 23  
33 +
34 +
24 24  == 3. Asynchronous routing ==
25 25  
26 26  Asynchronous routing plays a crucial role in the distribution of messages it receives to one or more offramps.
... ... @@ -48,13 +48,13 @@
48 48  
49 49  In the standard router component this will look as follows:
50 50  
51 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--routing-decision.png]]
62 +<p align="center">[[image:crashcourse-messaging-asynchronous-routing--routing-decision.png||]]</p>
52 52  
53 53  In this simple case, we only have one channel as a result because all routings start simple.
54 54  The moment you add new offramps to your project you need to add the new entry(s) to this list.
55 55  Doing so is easy when you are in Start Editing Mode. Simply open the router component and select the button New Mapping
56 56  
57 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--new-value-mapping.png]]
68 +<p align="center">[[image:crashcourse-messaging-asynchronous-routing--new-value-mapping.png||]]</p>
58 58  
59 59  In here you fill in the correct unique combination of a target system and the message type and select the channel you want to route the message to.
60 60  When you are satisfied you can press Save and the new entry will be registered in eMagiz.
... ... @@ -76,13 +76,13 @@
76 76  
77 77  Below you see how this will look on flow level.
78 78  
79 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--filter-construction.png]]
90 +<p align="center">[[image:crashcourse-messaging-asynchronous-routing--filter-construction.png||]]</p>
80 80  
81 81  When we zoom in on the filter component we see a simple SpEL expression that checks the value of a certain property.
82 82  When the value of the property is true the message can pass. If the value of the property is any other value the message will be halted.
83 83  The best practice would be to work with false to get clarity on what the intended use of the property value is.
84 84  
85 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--filter-configuration.png]]
96 +<p align="center">[[image:crashcourse-messaging-asynchronous-routing--filter-configuration.png||]]</p>
86 86  
87 87  === 3.4 Step by step guide ===
88 88  
... ... @@ -110,8 +110,9 @@
110 110  The result of setting up your asynchronous routing in this manner
111 111  is that you have one single point of entry, one single piece of decision logic, and a way to control the output per specific output channel.
112 112  
113 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png]]
124 +<p align="center">[[image:crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png||]]</p>
114 114  
126 +===== Practice =====
115 115  
116 116  == 4. Assignment ==
117 117  
... ... @@ -124,6 +124,8 @@
124 124  * Control the output with a filter to prevent data to be sent to a queue too early
125 125  * Use the annotations to write down the step by step guide within your asynchronous routing
126 126  
139 +
140 +
127 127  == 6. Suggested Additional Readings ==
128 128  
129 129  If you are interested in this topic and want more information on it please read the help text provided by eMagiz.
... ... @@ -132,6 +132,10 @@
132 132  
133 133  This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned.
134 134  
135 -{{video attachment="crashcourse-messaging-asynchronous-routing.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
149 +<iframe width="1280" height="720" src="../../vid/microlearning/crashcourse-messaging-asynchronous-routing.mp4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
136 136  
137 -)))((({{toc/}}))){{/container}}{{/container}}
151 +</div>
152 +</div>
153 +</div>
154 +
155 +{{/html}}