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.Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
11.3. Configuring a sender endpoint's interaction with the file system
Overview Link kopierenLink in die Zwischenablage kopiert!
- if the endpoint creates the directory where it writes files
- how the endpoint names temporary files
Directory creation Link kopierenLink in die Zwischenablage kopiert!
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 Link kopierenLink in die Zwischenablage kopiert!
append
attribute to true.
Example 11.3. Sender endpoint that appends existing files
Temporary file naming Link kopierenLink in die Zwischenablage kopiert!
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