Last modified by Erik Bakker on 2023/08/04 13:13

Show last authors
1 {{container}}{{container layoutStyle="columns"}}(((
2 With this exercise, we continue our exploration of how to route messages. In the crash course we focused on the asynchronous routing. This exercise will broaden the scope of that view and will enable you to learn how to implement two typically used routing components within the platform. As a result the exercise is split up into two seperate components.
3
4 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5
6 == 1. Prerequisites ==
7
8 * Completed all previous microlearnings on the subject.
9 * Access to my.emagiz.com with your own account and MFA configured.
10 * A model in which you can create this exercise.
11
12 == 2. Exercise ==
13
14 This exercise is a two-part exercise. In the first part of the exercise we will focus on how to configure a header value router. In the second part of the exercise we will focus on how to configure a recipient list router.
15
16 === 2.1 Header value router ===
17
18 To complete this exercise you need to execute the following steps:
19
20 * Open a flow in Create in which you want to add the Header value router
21 * Enter "Start Editing" mode and select the component called "Header value router"
22 * Add the component and configure it with the following configuration options:
23 ** Header name to check against is: mlacade_messageType
24 ** Header value to route on is: synchrns
25 ** Output channel is: Any name you want to give it.
26 * Save your changes
27
28 === 2.2 Recipient list router ===
29
30 To complete this exercise you need to execute the following steps:
31
32 * Open a flow in Create in which you want to add the Header value router
33 * Enter "Start Editing" mode and select the component called "Header value router"
34 * Add the component and configure it with the following configuration options:
35 ** Input channel: Any name you want to give it
36 ** At least two output channels: Any name you want to give it.
37 * Save your changes
38
39 == 3. Solution ==
40
41 * Understand that each router has a different function.
42 ** The header value router uses one specific value to route a message to a **distinct** output channel.
43 ** The recipient list router uses one input message and distributes it over **multiple** output channels.
44
45 === 3.1 Solution - Header value router ===
46 In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution.
47
48 {{video attachment="intermediate-data-traffic-routing-synchronous-routing.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
49
50 === 3.1 Solution - Recipient list router ===
51 In this short movie, you will find the workout of this exercise. Take a moment to review this one and compare it to your solution.
52
53 {{video attachment="intermediate-data-traffic-routing-recipient-list-router.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
54
55 )))((({{toc/}}))){{/container}}{{/container}}