Skip to main content Skip to complementary content

cFile Standard properties

These properties are used to configure cFile running in the Standard Job framework.

The Standard cFile component belongs to the Connectivity family.

Basic settings


Path to the file or files to be accessed or saved.


Select this check box to keep the file or files in the original folder after being read.

If this option is enabled, the file will not be moved or deleted in any way and Camel will set idempotent=true as well to avoid consuming the same files over and over again. This option is useful for read-only data and ETL type requirements.


Select this check box to flatten the file name path to strip any leading paths. This allows you to consume recursively into sub-directories, but when you, for example, write the files to another directory, they will be written in a single directory.


Select this check box to create the directory specified in the Path field automatically if it does not exist.


Write buffer sized in bytes.

Encoding Specify the encoding of the file, ISO-8859-15, UTF-8, or CUSTOM.
FileName The name of the file to be processed. Use this option if you want to consume only a single file in the specified directory.

Advanced settings

Advanced Set the optional arguments in the corresponding table. Click [+] as many times as required to add arguments to the table. Then click the corresponding Value field and enter a value. See the site for available URI options.


Usage rule

cFile can be a start, middle or end component in a Route.



Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!