Changes for page Asynchronous Routing

Last modified by Danniar Firdausy on 2024/09/04 09:01

From version 37.9
edited by Danniar Firdausy
on 2024/08/21 16:03
Change comment: There is no comment for this version
To version 38.2
edited by Danniar Firdausy
on 2024/09/04 09:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -24,11 +24,12 @@
24 24  
25 25  In asynchronous routing, you can build your decision model on which the routing needs to make the decision.
26 26  
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 -The SpEL expression looks as follows:
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. The SpEL expression looks as follows:
29 29  
30 30  {{code language="xml"}}
30 +
31 31  headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType]
32 +
32 32  {{/code}}
33 33  
34 34  This SpEL expression does the following things:
... ... @@ -98,9 +98,9 @@
98 98  
99 99  == 4. Key takeaways ==
100 100  
101 -* Use one component that decides to route messages to certain channels
102 -* Control the output with a filter to prevent data to be sent to a queue too early
103 -* Use the annotations to write down the step by step guide within your asynchronous routing
102 +* Centralize Decision Making: Use a single component to determine how messages are routed to different channels.
103 +* Output Control: Implement filters to manage when data is sent to each queue, ensuring messages are only routed when appropriate.
104 +* Documentation: Use the annotations within your asynchronous routing setup to document and maintain clarity of the configuration.
104 104  
105 105  == 5. Suggested Additional Readings ==
106 106  
... ... @@ -111,6 +111,7 @@
111 111  *** [[Routing - SpEL (Store Item)>>doc:Main.eMagiz Store.Accelerators.Routing - SpEL.WebHome||target="blank"]]
112 112  * [[Intermediate Level (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]]
113 113  ** [[Data traffic routing (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Data traffic routing.WebHome||target="blank"]]
115 +*** [[Implementation of routing decisions (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Data traffic routing.intermediate-data-traffic-routing-implementation-of-routing-decisions||target="blank"]]
114 114  *** [[Synchronous routing (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Data traffic routing.intermediate-data-traffic-routing-synchronous-routing||target="blank"]]
115 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"]]
116 116  )))((({{toc/}}))){{/container}}{{/container}}