Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +Asynchronous Routing - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. marijn1 +XWiki.eMagiz - Content
-
... ... @@ -1,16 +1,7 @@ 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 - 1 +{{container}}{{container layoutStyle="columns"}}((( 11 11 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. 12 12 13 -Should you have any questions, please contact academy@emagiz.com. 4 +Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 14 14 15 15 * Last update: February 25th, 2021 16 16 * Required reading time: 7 minutes ... ... @@ -30,8 +30,6 @@ 30 30 * Based on a decision made within the routing the message is routed to one or more offramp queues 31 31 * Each offramp queue will receive data based on the decision unless you add another filter before the messages are sent to the offramp queue 32 32 33 - 34 - 35 35 == 3. Asynchronous routing == 36 36 37 37 Asynchronous routing plays a crucial role in the distribution of messages it receives to one or more offramps. ... ... @@ -59,13 +59,13 @@ 59 59 60 60 In the standard router component this will look as follows: 61 61 62 - <p align="center">[[image:crashcourse-messaging-asynchronous-routing--routing-decision.png||]]</p>51 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--routing-decision.png]] 63 63 64 64 In this simple case, we only have one channel as a result because all routings start simple. 65 65 The moment you add new offramps to your project you need to add the new entry(s) to this list. 66 66 Doing so is easy when you are in Start Editing Mode. Simply open the router component and select the button New Mapping 67 67 68 - <p align="center">[[image:crashcourse-messaging-asynchronous-routing--new-value-mapping.png||]]</p>57 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--new-value-mapping.png]] 69 69 70 70 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. 71 71 When you are satisfied you can press Save and the new entry will be registered in eMagiz. ... ... @@ -87,13 +87,13 @@ 87 87 88 88 Below you see how this will look on flow level. 89 89 90 - <p align="center">[[image:crashcourse-messaging-asynchronous-routing--filter-construction.png||]]</p>79 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--filter-construction.png]] 91 91 92 92 When we zoom in on the filter component we see a simple SpEL expression that checks the value of a certain property. 93 93 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. 94 94 The best practice would be to work with false to get clarity on what the intended use of the property value is. 95 95 96 - <p align="center">[[image:crashcourse-messaging-asynchronous-routing--filter-configuration.png||]]</p>85 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--filter-configuration.png]] 97 97 98 98 === 3.4 Step by step guide === 99 99 ... ... @@ -121,9 +121,8 @@ 121 121 The result of setting up your asynchronous routing in this manner 122 122 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. 123 123 124 - <p align="center">[[image:crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png||]]</p>113 +[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png]] 125 125 126 -===== Practice ===== 127 127 128 128 == 4. Assignment == 129 129 ... ... @@ -136,8 +136,6 @@ 136 136 * Control the output with a filter to prevent data to be sent to a queue too early 137 137 * Use the annotations to write down the step by step guide within your asynchronous routing 138 138 139 - 140 - 141 141 == 6. Suggested Additional Readings == 142 142 143 143 If you are interested in this topic and want more information on it please read the help text provided by eMagiz. ... ... @@ -146,10 +146,6 @@ 146 146 147 147 This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 148 148 149 - <iframewidth="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>135 +{{video attachment="crashcourse-messaging-asynchronous-routing.mp4" reference="Main.Videos.Microlearning.WebHome"/}} 150 150 151 -</div> 152 -</div> 153 -</div> 154 - 155 -{{/html}} 137 +)))((({{toc/}}))){{/container}}{{/container}}