Changes for page Asynchronous Routing

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

From version 23.1
edited by Erik Bakker
on 2022/08/15 08:07
Change comment: There is no comment for this version
To version 25.1
edited by Carlijn Kokkeler
on 2022/10/05 12:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ebakker
1 +XWiki.CarlijnKokkeler
Content
... ... @@ -34,8 +34,10 @@
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 -
37 +{{code language="xml"}}
38 38  headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType]
39 +{{/code}}
40 +headers.{technicalnameofproject}\_targetSystem.split(',').![#this.trim()+#root.headers.{technicalnameofproject}_messageType]
39 39  
40 40  This SpEL expression does the following things:
41 41