Skip to content

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.

Path

Name of the directory

Path Examples

/Users/user/test or C:\someDir\test

Common options

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.

Clone this wiki locally