Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Ce contenu n'est pas disponible dans la langue sélectionnée.
11.3. Configuring a sender endpoint's interaction with the file system
Overview Copier lienLien copié sur presse-papiers!
- if the endpoint creates the directory where it writes files
- how the endpoint names temporary files
Directory creation Copier lienLien copié sur presse-papiers!
autoCreateDirectory
attribute to false
. If the directory does not exist, the endpoint will do nothing. You will then have to create the directory manually.
Example 11.2. Sender endpoint that creates its target directory
Appending data Copier lienLien copié sur presse-papiers!
append
attribute to true.
Example 11.3. Sender endpoint that appends existing files
Temporary file naming Copier lienLien copié sur presse-papiers!
tempFilePrefixXXXXXtempFileSuffix
. The five Xs in the middle of the filename will be filled with randomly generated characters. So given the configuration shown in Example 11.4, “Configuring a sender endpoint's temporary file prefix”, a possible temporary filename would be widgets-xy60s.xml
.
Example 11.4. Configuring a sender endpoint's temporary file prefix