Changes for page Pick up Files

Last modified by Danniar Firdausy on 2024/08/21 16:48

From version 17.1
edited by Erik Bakker
on 2022/06/10 08:38
Change comment: Imported from XAR
To version 14.1
edited by eMagiz
on 2022/05/10 11:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ebakker
1 +XWiki.marijn
Content
... ... @@ -1,9 +1,16 @@
1 -{{container}}{{container layoutStyle="columns"}}(((
1 +{{html wiki="true"}}
2 +<div class="ez-academy">
3 + <div class="ez-academy_body">
4 +
5 +<div class="doc">
6 +
7 +
8 +
2 2  = Pick up Files =
3 3  
4 4  In this microlearning, we will explain the basics of retrieving files from a local directory (i.e. a directory that is directly accessible within the network where the eMagiz process is running)
5 5  
6 -Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].
13 +Should you have any questions, please contact academy@emagiz.com.
7 7  
8 8  * Last update: February 25th, 2021
9 9  * Required reading time: 8 minutes
... ... @@ -41,7 +41,7 @@
41 41  
42 42  By default, eMagiz has a filter that will only accept each file once. This option is called prevent duplicates
43 43  
44 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--prevent-duplicates.png]]
51 +<p align="center">[[image:crashcourse-messaging-pick-up-files--prevent-duplicates.png||]]</p>
45 45  
46 46  As the eMagiz help text clearly states this option will ensure that eMagiz will keep a list in memory and files are only to be passed once.
47 47  This check is done before any other filtering is done. So be aware when mixing these settings.
... ... @@ -57,7 +57,7 @@
57 57  
58 58  To filter which messages need to be retrieved from a local directory we use a composite file list filter.
59 59  
60 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--composite-file-list-filter-component.png]]
67 +<p align="center">[[image:crashcourse-messaging-pick-up-files--composite-file-list-filter-component.png||]]</p>
61 61  
62 62  In this filter, we use the following four criteria to filter our messages:
63 63  
... ... @@ -68,12 +68,12 @@
68 68  
69 69  The result of this configuration should be:
70 70  
71 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--composite-file-list-filter.png]]
78 +<p align="center">[[image:crashcourse-messaging-pick-up-files--composite-file-list-filter.png||]]</p>
72 72  
73 73  The next step would be to link this support object to the file inbound channel adapter (the starting point of our flow). To do so open the component and navigate to the Advanced tab.
74 74  Here you need to select the correct filter to reference your support object.
75 75  
76 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--composite-file-list-filter-linked.png]]
83 +<p align="center">[[image:crashcourse-messaging-pick-up-files--composite-file-list-filter-linked.png||]]</p>
77 77  
78 78  === 3.2 Frequency ===
79 79  
... ... @@ -86,7 +86,7 @@
86 86  * Fixed-Rate
87 87  * Cron Trigger
88 88  
89 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--frequency-options.png]]
96 +<p align="center">[[image:crashcourse-messaging-pick-up-files--frequency-options.png||]]</p>
90 90  
91 91  Both the Fixed Delay and the Fixed Rate are static. This means that when you want to change the frequency with which you look you will have to make a new version of the flow.
92 92  
... ... @@ -114,20 +114,20 @@
114 114  
115 115  There is a component in eMagiz called the file to string transformer. You should place this directly after receiving the file from the external source
116 116  
117 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--file-to-string-component.png]]
124 +<p align="center">[[image:crashcourse-messaging-pick-up-files--file-to-string-component.png||]]</p>
118 118  
119 119  Configuration wise you need to select the option Delete files to ensure that the files are deleted
120 120  
121 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--file-to-string-configuration.png]]
128 +<p align="center">[[image:crashcourse-messaging-pick-up-files--file-to-string-configuration.png||]]</p>
122 122  
123 123  The result of linking the components together will lead to the following solution
124 124  
125 -[[image:Main.Images.Microlearning.WebHome@crashcourse-messaging-pick-up-files--simple-solution.png]]
132 +<p align="center">[[image:crashcourse-messaging-pick-up-files--simple-solution.png||]]</p>
126 126  
127 127  With all this in mind, you have successfully learned how to set up your first connectivity via a messaging flow in eMagiz!
128 128  
136 +===== Practice =====
129 129  
130 -
131 131  == 4. Assignment ==
132 132  
133 133  Build an entry that retrieves files from an external source and ensures that the data is delivered on the onramp queue.
... ... @@ -151,6 +151,10 @@
151 151  
152 152  This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned.
153 153  
154 -{{video attachment="crashcourse-messaging-pick-up-files.mp4" reference="Main.Videos.Microlearning.WebHome"/}}
161 +<iframe width="1280" height="720" src="../../vid/microlearning/crashcourse-messaging-pick-up-files.mp4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
155 155  
156 -)))((({{toc/}}))){{/container}}{{/container}}
163 +</div>
164 +</div>
165 +</div>
166 +
167 +{{/html}}