Changes for page Asynchronous Routing
Last modified by Danniar Firdausy on 2024/09/04 09:01
From 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
To version 37.5
edited by Danniar Firdausy
on 2024/08/20 15:40
on 2024/08/20 15:40
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 divetotheessentials of asynchronous routing and its importance inmanaging messagedistribution within the five-layer messaging model.We will coverthe key concepts, including how to routemessages efficiently and manage output control.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 - Ifyou have any questionsalong theway, feelfree to reachoutto usat [[academy@emagiz.com>>mailto:academy@emagiz.com]].4 +Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 6 == 1. Prerequisites == 7 7 ... ... @@ -10,16 +10,24 @@ 10 10 == 2. Key concepts == 11 11 12 12 This microlearning centers around asynchronous routing for messaging flows in eMagiz. 13 - *Withasynchronous routing we mean: The process that routes messages that it receives to the correct outbound queue based on some metadata.13 +By 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 + 15 15 == 3. Asynchronous routing == 16 16 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:23 +Asynchronous routing plays a crucial role in the distribution of messages it receives to one or more offramps. 18 18 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. 25 +The asynchronous routing has three relevant parts: 22 22 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 + 23 23 === 3.1 Make a decision === 24 24 25 25 In asynchronous routing, you can build your decision model on which the routing needs to make the decision. ... ... @@ -27,8 +27,10 @@ 27 27 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. 28 28 The SpEL expression looks as follows: 29 29 30 -{{code language="xml"}} 31 -headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 38 +{{code language="xml"}} 39 + 40 +headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType] 41 + 32 32 {{/code}} 33 33 34 34 This SpEL expression does the following things: