You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2cb227e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: tutorials/ci-sftp-file-polling/ci-sftp-file-polling.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,12 @@ DummyD_Dummy1_*.csv
53
53
| Stop on Exception | Checked | `When checked, this setting ensures that the processing will stop if an exception occurs in any of the split messages. This is useful for error handling, ensuring that issues are addressed before proceeding further in the process. `
54
54
55
55
56
-

56
+

57
57
58
58
### Add local Integration Process Call to poll files from SFTP Server
59
59
60
60
1. Build the Process Call and the Local Integration Process Call poll_files. Local integration process poll_files will be triggered from the calling process afterwards.
61
-

61
+

62
62
63
63
2. Configure a Content Modifier set_filename_dir to define directory and filename in the following property table:
64
64
@@ -69,10 +69,10 @@ DummyD_Dummy1_*.csv
69
69
70
70
3. Add Poll Enrich. It provides the ability polling content from an external component and enrich the original message with it. Currently, you can use the Poll Enrich step to read content from an SFTP server.
71
71
Define Poll Enrich with Replace as Aggregation Algorithm. It indicates that the current message payload will be removed and replaced with the newly retrieved file content.
72
-

72
+

73
73
74
74
4. In the SFTP Sender, configure the file access parameters by the properties defined for directory and file name. Set up the address and credentials alias based on your case.
75
-

75
+

76
76
5. Set a content modifier after polling the file to process the headers during runtime.
77
77
78
78
| Action | Name | Source Type | Source Value
@@ -87,7 +87,7 @@ CamelFileNameOnly: The name of the file without the path or extension.
87
87
### Add your next steps to consume the polled file and parameters
88
88
In the last step, we are using the receiver adapter ProcessDirect. Therefore, after the file is polled, you can deliver to your consuming integration flow which can process the message further.
89
89
Before sending the message to the next integration flow, you also have the option to take advantage of the Headers Directory and Filename which were set before and build your own message based on the specific scenario.
0 commit comments