-
-
Notifications
You must be signed in to change notification settings - Fork 9
Component File
assimbly edited this page May 20, 2022
·
6 revisions
The File component picks up files from a directory or saves files to a directory. This helps to provide an assynchronous mechanism between two parties.
Name of the directory
/Users/user/test
or C:\someDir\test
For enabling scheduling you can use the following options:
scheduler=quartz2 scheduler.cron=0/2+++++?
This wil read a file every two seconds. For more on cron expression, see https://www.freeformatter.com/cron-expression-generator-quartz.html
For all options, see Camel documentation.