Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
From version 32.1
edited by Carlijn Kokkeler
on 2022/10/05 12:24
on 2022/10/05 12:24
Change comment:
There is no comment for this version
To version 37.8
edited by Danniar Firdausy
on 2024/08/21 16:03
on 2024/08/21 16:03
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. CarlijnKokkeler1 +XWiki.dfirdausy - Content
-
... ... @@ -1,7 +1,7 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we will e xplain thebasics of asynchronous routingthatplaysa vital role inthe distributionof messageswithin the five-layer model ofmessaging.2 +In this microlearning, we will dive into the essentials of asynchronous routing and its importance in managing message distribution within the five-layer messaging model. We will cover the key concepts, including how to route messages efficiently and manage output control. 3 3 4 - Shouldyou have any questions,please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].4 +If you have any questions along the way, feel free to reach out to us at [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 6 == 1. Prerequisites == 7 7 ... ... @@ -10,24 +10,16 @@ 10 10 == 2. Key concepts == 11 11 12 12 This microlearning centers around asynchronous routing for messaging flows in eMagiz. 13 - Byasynchronous routing we mean: The process that routes messages that it receives to the correct outbound queue based on some metadata.13 +* With asynchronous routing we mean: The process that routes messages that it receives to the correct outbound queue based on some metadata. 14 14 15 -The asynchronous routing has three relevant parts: 16 - 17 -* All asynchronous onramps send their data to the routing 18 -* Based on a decision made within the routing the message is routed to one or more offramp queues 19 -* Each offramp queue will receive data based on the decision unless you add another filter before the messages are sent to the offramp queue 20 - 21 21 == 3. Asynchronous routing == 22 22 23 -Asynchronous routing plays a crucial role in the distribution of messages it receives to one or more offramps. 17 +Asynchronous routing plays a crucial role in the distribution of messages it receives to one or more offramps. In eMagiz, the asynchronous routing has three relevant parts: 24 24 25 -The asynchronous routing has three relevant parts: 19 +* All asynchronous onramps that send data to the routing. 20 +* Based on a decision made within the routing the message is routed to one or more offramp queues. 21 +* Each offramp queue will receive data based on the decision unless you add another filter before the messages are sent to the offramp queue. 26 26 27 -* All asynchronous onramps send their data to the routing 28 -* Based on a decision made within the routing the message is routed to one or more offramp queues 29 -* Each offramp queue will receive data based on the decision unless you add another filter before the messages are sent to the offramp queue 30 - 31 31 === 3.1 Make a decision === 32 32 33 33 In asynchronous routing, you can build your decision model on which the routing needs to make the decision. ... ... @@ -34,10 +34,9 @@ 34 34 35 35 The best practice for setting up your asynchronous routing process is to use one SpEL expression that determines to which offramp queues a messages needs to be routed. 36 36 The SpEL expression looks as follows: 37 - 38 -{{code language=<xml>}} 39 -code: 40 - headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 29 + 30 +{{code language="xml"}} 31 +headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 41 41 {{/code}} 42 42 43 43 This SpEL expression does the following things: ... ... @@ -105,25 +105,21 @@ 105 105 [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png]] 106 106 107 107 108 -== 4. Assignment ==99 +== 4. Key takeaways == 109 109 110 -Build your asynchronous routing based on the best practice for one of the offramps that are available within your (Academy) project. 111 -This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. 112 - 113 -== 5. Key takeaways == 114 - 115 115 * Use one component that decides to route messages to certain channels 116 116 * Control the output with a filter to prevent data to be sent to a queue too early 117 117 * Use the annotations to write down the step by step guide within your asynchronous routing 118 118 119 -== 6. Suggested Additional Readings ==105 +== 5. Suggested Additional Readings == 120 120 121 -If you are interested in this topic and want more information on it please read the help text provided by eMagiz .107 +If you are interested in this topic and want more information on it please read the help text provided by eMagiz and read the following link: 122 122 123 -== 7. Silent demonstration video == 124 - 125 -This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 126 - 127 -{{video attachment="crashcourse-messaging-asynchronous-routing.mp4" reference="Main.Videos.Microlearning.WebHome"/}} 128 - 109 +* [[Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 110 +** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 111 +*** [[Routing - SpEL (Store Item)>>doc:Main.eMagiz Store.Accelerators.Routing - SpEL.WebHome||target="blank"]] 112 +* [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]] 113 +** [[Data traffic routing (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Data traffic routing.WebHome||target="blank"]] 114 +*** [[Synchronous routing (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Data traffic routing.intermediate-data-traffic-routing-synchronous-routing||target="blank"]] 115 +* [[Asynchronous Routing (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22asynchronous+routing%22||target="blank"]] 129 129 )))((({{toc/}}))){{/container}}{{/container}}