Class FilesEndpointBuilderFactory.FilesHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.FilesHeaderNameBuilder
- Enclosing interface:
- FilesEndpointBuilderFactory
The builder of headers' name for the Azure Files component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfileHost()
The remote hostname.A Long value containing the last modified timestamp of the file.A long value containing the file size.Path to the local work file, if local work directory is used.fileName()
Specifies the output file name (relative to the endpoint directory) to be used for the output message when sending to the endpoint.Only the file name (the name with no leading paths).The parent path.The remote file input stream.
-
Constructor Details
-
FilesHeaderNameBuilder
public FilesHeaderNameBuilder()
-
-
Method Details
-
fileLength
A long value containing the file size. For producer, known length helps if the body converts to InputStream more efficiently than to bytes array. The option is a:long
type. Group: both- Returns:
- the name of the header
FileLength
.
-
fileLastModified
A Long value containing the last modified timestamp of the file. The option is a:long
type. Group: consumer- Returns:
- the name of the header
FileLastModified
.
-
fileName
Specifies the output file name (relative to the endpoint directory) to be used for the output message when sending to the endpoint. If this is not present and no expression either, then a generated message ID is used as the filename instead. The option is a:String
type. Group: common- Returns:
- the name of the header
FileName
.
-
fileNameOnly
Only the file name (the name with no leading paths). The option is a:String
type. Group: common- Returns:
- the name of the header
FileNameOnly
.
-
fileParent
The parent path. The option is a:String
type. Group: common- Returns:
- the name of the header
FileParent
.
-
remoteFileInputStream
The remote file input stream. The option is a:java.io.InputStream
type. Group: common- Returns:
- the name of the header
RemoteFileInputStream
.
-
fileLocalWorkPath
Path to the local work file, if local work directory is used. The option is a:String
type. Group: common- Returns:
- the name of the header
FileLocalWorkPath
.
-
fileHost
The remote hostname. The option is a:String
type. Group: common- Returns:
- the name of the header
FileHost
.
-