Interface DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
DockerEndpointBuilderFactory.AdvancedDockerEndpointBuilder
- Enclosing interface:
DockerEndpointBuilderFactory
public static interface DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Docker component.
-
Method Summary
Modifier and TypeMethodDescriptionbasic()
cmdExecFactory
(String cmdExecFactory) The fully qualified class name of the DockerCmdExecFactory implementation to use.followRedirectFilter
(boolean followRedirectFilter) Whether to follow redirect filter.followRedirectFilter
(String followRedirectFilter) Whether to follow redirect filter.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).loggingFilter
(boolean loggingFilter) Whether to use logging filter.loggingFilter
(String loggingFilter) Whether to use logging filter.maxPerRouteConnections
(Integer maxPerRouteConnections) Maximum route connections.maxPerRouteConnections
(String maxPerRouteConnections) Maximum route connections.maxTotalConnections
(Integer maxTotalConnections) Maximum total connections.maxTotalConnections
(String maxTotalConnections) Maximum total connections.parameters
(String parameters) Additional configuration parameters as key/value pairs.parameters
(Map<String, Object> parameters) Additional configuration parameters as key/value pairs.serverAddress
(String serverAddress) Server address for docker registry.socket
(boolean socket) Socket connection mode.Socket connection mode.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 DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder 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 DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder 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
-
cmdExecFactory
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder cmdExecFactory(String cmdExecFactory) The fully qualified class name of the DockerCmdExecFactory implementation to use. The option is a:java.lang.String
type. Default: com.github.dockerjava.netty.NettyDockerCmdExecFactory Group: advanced- Parameters:
cmdExecFactory
- the value to set- Returns:
- the dsl builder
-
followRedirectFilter
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder followRedirectFilter(boolean followRedirectFilter) Whether to follow redirect filter. The option is a:boolean
type. Default: false Group: advanced- Parameters:
followRedirectFilter
- the value to set- Returns:
- the dsl builder
-
followRedirectFilter
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder followRedirectFilter(String followRedirectFilter) Whether to follow redirect filter. The option will be converted to aboolean
type. Default: false Group: advanced- Parameters:
followRedirectFilter
- the value to set- Returns:
- the dsl builder
-
loggingFilter
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder loggingFilter(boolean loggingFilter) Whether to use logging filter. The option is a:boolean
type. Default: false Group: advanced- Parameters:
loggingFilter
- the value to set- Returns:
- the dsl builder
-
loggingFilter
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder loggingFilter(String loggingFilter) Whether to use logging filter. The option will be converted to aboolean
type. Default: false Group: advanced- Parameters:
loggingFilter
- the value to set- Returns:
- the dsl builder
-
maxPerRouteConnections
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder maxPerRouteConnections(Integer maxPerRouteConnections) Maximum route connections. The option is a:java.lang.Integer
type. Default: 100 Group: advanced- Parameters:
maxPerRouteConnections
- the value to set- Returns:
- the dsl builder
-
maxPerRouteConnections
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder maxPerRouteConnections(String maxPerRouteConnections) Maximum route connections. The option will be converted to ajava.lang.Integer
type. Default: 100 Group: advanced- Parameters:
maxPerRouteConnections
- the value to set- Returns:
- the dsl builder
-
maxTotalConnections
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder maxTotalConnections(Integer maxTotalConnections) Maximum total connections. The option is a:java.lang.Integer
type. Default: 100 Group: advanced- Parameters:
maxTotalConnections
- the value to set- Returns:
- the dsl builder
-
maxTotalConnections
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder maxTotalConnections(String maxTotalConnections) Maximum total connections. The option will be converted to ajava.lang.Integer
type. Default: 100 Group: advanced- Parameters:
maxTotalConnections
- the value to set- Returns:
- the dsl builder
-
parameters
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder parameters(Map<String, Object> parameters) Additional configuration parameters as key/value pairs. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
parameters
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder parameters(String parameters) Additional configuration parameters as key/value pairs. The option will be converted to ajava.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
serverAddress
default DockerEndpointBuilderFactory.AdvancedDockerEndpointProducerBuilder serverAddress(String serverAddress) Server address for docker registry. The option is a:java.lang.String
type. Default: https://index.docker.io/v1/ Group: advanced- Parameters:
serverAddress
- the value to set- Returns:
- the dsl builder
-
socket
Socket connection mode. The option is a:boolean
type. Default: true Group: advanced- Parameters:
socket
- the value to set- Returns:
- the dsl builder
-
socket
Socket connection mode. The option will be converted to aboolean
type. Default: true Group: advanced- Parameters:
socket
- the value to set- Returns:
- the dsl builder
-