Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.marijn - Content
-
... ... @@ -1,9 +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 + 2 2 = Asynchronous Routing = 3 3 4 4 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. 5 5 6 -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. 7 7 8 8 * Last update: February 25th, 2021 9 9 * Required reading time: 7 minutes ... ... @@ -52,13 +52,13 @@ 52 52 53 53 In the standard router component this will look as follows: 54 54 55 - [[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> 56 56 57 57 In this simple case, we only have one channel as a result because all routings start simple. 58 58 The moment you add new offramps to your project you need to add the new entry(s) to this list. 59 59 Doing so is easy when you are in Start Editing Mode. Simply open the router component and select the button New Mapping 60 60 61 - [[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> 62 62 63 63 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. 64 64 When you are satisfied you can press Save and the new entry will be registered in eMagiz. ... ... @@ -80,13 +80,13 @@ 80 80 81 81 Below you see how this will look on flow level. 82 82 83 - [[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> 84 84 85 85 When we zoom in on the filter component we see a simple SpEL expression that checks the value of a certain property. 86 86 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. 87 87 The best practice would be to work with false to get clarity on what the intended use of the property value is. 88 88 89 - [[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> 90 90 91 91 === 3.4 Step by step guide === 92 92 ... ... @@ -114,10 +114,10 @@ 114 114 The result of setting up your asynchronous routing in this manner 115 115 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. 116 116 117 - [[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> 118 118 126 +===== Practice ===== 119 119 120 - 121 121 == 4. Assignment == 122 122 123 123 Build your asynchronous routing based on the best practice for one of the offramps that are available within your (Academy) project. ... ... @@ -139,6 +139,10 @@ 139 139 140 140 This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 141 141 142 - {{videoattachment="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> 143 143 144 -)))((({{toc/}}))){{/container}}{{/container}} 151 +</div> 152 +</div> 153 +</div> 154 + 155 +{{/html}}