Interface FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,FilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
,FilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Enclosing interface:
FilesEndpointBuilderFactory
public static interface FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder
extends FilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder, FilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
Advanced builder for endpoint for the Azure Files component.
-
Method Summary
Modifier and TypeMethodDescriptionautoCreate
(boolean autoCreate) Automatically create missing directories in the file's pathname.autoCreate
(String autoCreate) Automatically create missing directories in the file's pathname.basic()
browseLimit
(int browseLimit) Maximum number of messages to keep in memory available for browsing.browseLimit
(String browseLimit) Maximum number of messages to keep in memory available for browsing.connectTimeout
(int connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH.connectTimeout
(String connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH.maximumReconnectAttempts
(int maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server.maximumReconnectAttempts
(String maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server.reconnectDelay
(long reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt.reconnectDelay
(String reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt.timeout
(int timeout) Sets the data timeout for waiting for reply Used only by FTPClient.Sets the data timeout for waiting for reply Used only by FTPClient.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, download, download, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, inProgressRepository, inProgressRepository, localWorkDirectory, onCompletionExceptionHandler, onCompletionExceptionHandler, pollStrategy, pollStrategy, processStrategy, processStrategy, throwExceptionOnConnectFailed, throwExceptionOnConnectFailed
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
allowNullBody, allowNullBody, disconnectOnBatchComplete, disconnectOnBatchComplete, eagerDeleteTargetFile, eagerDeleteTargetFile, keepLastModified, keepLastModified, lazyStartProducer, lazyStartProducer, moveExistingFileStrategy, moveExistingFileStrategy
-
Method Details
-
basic
- Specified by:
basic
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
basic
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
-
autoCreate
Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to. The option is a:boolean
type. Default: true Group: advanced- Specified by:
autoCreate
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
autoCreate
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
autoCreate
- the value to set- Returns:
- the dsl builder
-
autoCreate
Automatically create missing directories in the file's pathname. For the file consumer, that means creating the starting directory. For the file producer, it means the directory the files should be written to. The option will be converted to aboolean
type. Default: true Group: advanced- Specified by:
autoCreate
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
autoCreate
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
autoCreate
- the value to set- Returns:
- the dsl builder
-
browseLimit
Maximum number of messages to keep in memory available for browsing. Use 0 for unlimited. The option is a:int
type. Default: 100 Group: advanced- Specified by:
browseLimit
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
browseLimit
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
browseLimit
- the value to set- Returns:
- the dsl builder
-
browseLimit
Maximum number of messages to keep in memory available for browsing. Use 0 for unlimited. The option will be converted to aint
type. Default: 100 Group: advanced- Specified by:
browseLimit
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
browseLimit
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
browseLimit
- the value to set- Returns:
- the dsl builder
-
connectTimeout
Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH. The option is a:int
type. Default: 10000 Group: advanced- Specified by:
connectTimeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
connectTimeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
connectTimeout
default FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder connectTimeout(String connectTimeout) Sets the connect timeout for waiting for a connection to be established Used by both FTPClient and JSCH. The option will be converted to aint
type. Default: 10000 Group: advanced- Specified by:
connectTimeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
connectTimeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
connectTimeout
- the value to set- Returns:
- the dsl builder
-
maximumReconnectAttempts
default FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder maximumReconnectAttempts(int maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server. Use 0 to disable this behavior. The option is a:int
type. Group: advanced- Specified by:
maximumReconnectAttempts
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
maximumReconnectAttempts
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
maximumReconnectAttempts
- the value to set- Returns:
- the dsl builder
-
maximumReconnectAttempts
default FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder maximumReconnectAttempts(String maximumReconnectAttempts) Specifies the maximum reconnect attempts Camel performs when it tries to connect to the remote FTP server. Use 0 to disable this behavior. The option will be converted to aint
type. Group: advanced- Specified by:
maximumReconnectAttempts
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
maximumReconnectAttempts
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
maximumReconnectAttempts
- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder reconnectDelay(long reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt. The option is a:long
type. Default: 1000 Group: advanced- Specified by:
reconnectDelay
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
reconnectDelay
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
reconnectDelay
- the value to set- Returns:
- the dsl builder
-
reconnectDelay
default FilesEndpointBuilderFactory.AdvancedFilesEndpointBuilder reconnectDelay(String reconnectDelay) Delay in millis Camel will wait before performing a reconnect attempt. The option will be converted to along
type. Default: 1000 Group: advanced- Specified by:
reconnectDelay
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
reconnectDelay
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
reconnectDelay
- the value to set- Returns:
- the dsl builder
-
timeout
Sets the data timeout for waiting for reply Used only by FTPClient. The option is a:int
type. Default: 30000 Group: advanced- Specified by:
timeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
timeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-
timeout
Sets the data timeout for waiting for reply Used only by FTPClient. The option will be converted to aint
type. Default: 30000 Group: advanced- Specified by:
timeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointConsumerBuilder
- Specified by:
timeout
in interfaceFilesEndpointBuilderFactory.AdvancedFilesEndpointProducerBuilder
- Parameters:
timeout
- the value to set- Returns:
- the dsl builder
-