Interface SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SmbEndpointBuilderFactory.AdvancedSmbEndpointBuilder
- Enclosing interface:
SmbEndpointBuilderFactory
public static interface SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the SMB component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
idempotentRepository
(String idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified.idempotentRepository
(org.apache.camel.spi.IdempotentRepository idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer
(String lazyStartProducer) Whether the producer should be started lazy (on the first message).smbConfig
(com.hierynomus.smbj.SmbConfig smbConfig) An optional SMB client configuration, can be used to configure client specific configurations, like timeouts.An optional SMB client configuration, can be used to configure client specific configurations, like timeouts.An optional SMB I/O bean to use to setup the file access attributes when reading/writing a file.smbIoBean
(org.apache.camel.component.smb.SmbIOBean smbIoBean) An optional SMB I/O bean to use to setup the file access attributes when reading/writing a file.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
-
Method Details
-
basic
-
lazyStartProducer
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
idempotentRepository
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder idempotentRepository(org.apache.camel.spi.IdempotentRepository idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified. The option is a:org.apache.camel.spi.IdempotentRepository
type. Group: advanced- Parameters:
idempotentRepository
- the value to set- Returns:
- the dsl builder
-
idempotentRepository
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder idempotentRepository(String idempotentRepository) A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified. The option will be converted to aorg.apache.camel.spi.IdempotentRepository
type. Group: advanced- Parameters:
idempotentRepository
- the value to set- Returns:
- the dsl builder
-
smbConfig
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder smbConfig(com.hierynomus.smbj.SmbConfig smbConfig) An optional SMB client configuration, can be used to configure client specific configurations, like timeouts. The option is a:com.hierynomus.smbj.SmbConfig
type. Group: advanced- Parameters:
smbConfig
- the value to set- Returns:
- the dsl builder
-
smbConfig
An optional SMB client configuration, can be used to configure client specific configurations, like timeouts. The option will be converted to acom.hierynomus.smbj.SmbConfig
type. Group: advanced- Parameters:
smbConfig
- the value to set- Returns:
- the dsl builder
-
smbIoBean
default SmbEndpointBuilderFactory.AdvancedSmbEndpointProducerBuilder smbIoBean(org.apache.camel.component.smb.SmbIOBean smbIoBean) An optional SMB I/O bean to use to setup the file access attributes when reading/writing a file. The option is a:org.apache.camel.component.smb.SmbIOBean
type. Group: advanced- Parameters:
smbIoBean
- the value to set- Returns:
- the dsl builder
-
smbIoBean
An optional SMB I/O bean to use to setup the file access attributes when reading/writing a file. The option will be converted to aorg.apache.camel.component.smb.SmbIOBean
type. Group: advanced- Parameters:
smbIoBean
- the value to set- Returns:
- the dsl builder
-