Changes for page Asynchronous Routing

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

From version 34.1
edited by Carlijn Kokkeler
on 2022/10/05 12:26
Change comment: There is no comment for this version
To version 37.2
edited by Danniar Firdausy
on 2024/08/20 13:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.CarlijnKokkeler
1 +XWiki.dfirdausy
Content
... ... @@ -34,10 +34,12 @@
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 -{{warning}}
37 +
38 +{{code language="xml"}}
39 +
39 39  headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType]
40 -{{/warning}}
41 +
42 +{{/code}}
41 41  
42 42  This SpEL expression does the following things:
43 43  
... ... @@ -104,25 +104,18 @@
104 104  [[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-asynchronous-routing--simple-asynchronous-routing-example.png]]
105 105  
106 106  
107 -== 4. Assignment ==
109 +== 4. Key takeaways ==
108 108  
109 -Build your asynchronous routing based on the best practice for one of the offramps that are available within your (Academy) project.
110 -This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment.
111 -
112 -== 5. Key takeaways ==
113 -
114 114  * Use one component that decides to route messages to certain channels
115 115  * Control the output with a filter to prevent data to be sent to a queue too early
116 116  * Use the annotations to write down the step by step guide within your asynchronous routing
117 117  
118 -== 6. Suggested Additional Readings ==
115 +== 5. Suggested Additional Readings ==
119 119  
120 120  If you are interested in this topic and want more information on it please read the help text provided by eMagiz.
121 121  
122 -== 7. Silent demonstration video ==
119 +* [[Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]]
120 +** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]]
121 +*** [[Routing - SpEL (Store Item)>>doc:Main.eMagiz Store.Accelerators.Routing - SpEL.WebHome||target="blank"]]
123 123  
124 -This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned.
125 -
126 -{{video attachment="crashcourse-messaging-asynchronous-routing.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
127 -
128 128  )))((({{toc/}}))){{/container}}{{/container}}