Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
From version 37.4
edited by Danniar Firdausy
on 2024/08/20 15:34
on 2024/08/20 15:34
Change comment:
There is no comment for this version
To version 37.7
edited by Danniar Firdausy
on 2024/08/21 16:02
on 2024/08/21 16:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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. ... ... @@ -35,10 +35,8 @@ 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 37 38 -{{code language="xml"}} 39 - 40 -headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 41 - 30 +{{code language="xml"}} 31 +headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 42 42 {{/code}} 43 43 44 44 This SpEL expression does the following things: ... ... @@ -114,7 +114,7 @@ 114 114 115 115 == 5. Suggested Additional Readings == 116 116 117 -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: 118 118 119 119 * [[Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 120 120 ** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]]