Interface DockerComponentBuilderFactory.DockerComponentBuilder
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.docker.DockerComponent>
- All Known Implementing Classes:
DockerComponentBuilderFactory.DockerComponentBuilderImpl
- Enclosing interface:
- DockerComponentBuilderFactory
public static interface DockerComponentBuilderFactory.DockerComponentBuilder
extends ComponentBuilder<org.apache.camel.component.docker.DockerComponent>
Builder for the Docker component.
-
Method Summary
Modifier and TypeMethodDescriptionautowiredEnabled
(boolean autowiredEnabled) Whether autowiring is enabled.bridgeErrorHandler
(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.Location containing the SSL certificate chain.cmdExecFactory
(String cmdExecFactory) The fully qualified class name of the DockerCmdExecFactory implementation to use.configuration
(org.apache.camel.component.docker.DockerConfiguration configuration) To use the shared docker configuration.Email address associated with the user.followRedirectFilter
(boolean followRedirectFilter) Whether to follow redirect filter.Docker host.lazyStartProducer
(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).loggingFilter
(boolean loggingFilter) Whether to use logging filter.maxPerRouteConnections
(Integer maxPerRouteConnections) Maximum route connections.maxTotalConnections
(Integer maxTotalConnections) Maximum total connections.parameters
(Map<String, Object> parameters) Additional configuration parameters as key/value pairs.Password to authenticate with.Docker port.requestTimeout
(Integer requestTimeout) Request timeout for response (in seconds).secure
(boolean secure) Use HTTPS communication.serverAddress
(String serverAddress) Server address for docker registry.socket
(boolean socket) Socket connection mode.tlsVerify
(boolean tlsVerify) Check TLS.User name to authenticate with.Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
Method Details
-
configuration
default DockerComponentBuilderFactory.DockerComponentBuilder configuration(org.apache.camel.component.docker.DockerConfiguration configuration) To use the shared docker configuration. The option is a: <code>org.apache.camel.component.docker.DockerConfiguration</code> type. Group: common- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
email
Email address associated with the user. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
email
- the value to set- Returns:
- the dsl builder
-
host
Docker host. The option is a: <code>java.lang.String</code> type. Default: localhost Group: common- Parameters:
host
- the value to set- Returns:
- the dsl builder
-
port
Docker port. The option is a: <code>java.lang.Integer</code> type. Default: 2375 Group: common- Parameters:
port
- the value to set- Returns:
- the dsl builder
-
requestTimeout
Request timeout for response (in seconds). The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
requestTimeout
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default DockerComponentBuilderFactory.DockerComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default DockerComponentBuilderFactory.DockerComponentBuilder 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: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
autowiredEnabled
default DockerComponentBuilderFactory.DockerComponentBuilder autowiredEnabled(boolean autowiredEnabled) Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled
- the value to set- Returns:
- the dsl builder
-
cmdExecFactory
The fully qualified class name of the DockerCmdExecFactory implementation to use. The option is a: <code>java.lang.String</code> type. Default: com.github.dockerjava.netty.NettyDockerCmdExecFactory Group: advanced- Parameters:
cmdExecFactory
- the value to set- Returns:
- the dsl builder
-
followRedirectFilter
default DockerComponentBuilderFactory.DockerComponentBuilder followRedirectFilter(boolean followRedirectFilter) Whether to follow redirect filter. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
followRedirectFilter
- the value to set- Returns:
- the dsl builder
-
loggingFilter
Whether to use logging filter. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
loggingFilter
- the value to set- Returns:
- the dsl builder
-
maxPerRouteConnections
default DockerComponentBuilderFactory.DockerComponentBuilder maxPerRouteConnections(Integer maxPerRouteConnections) Maximum route connections. The option is a: <code>java.lang.Integer</code> type. Default: 100 Group: advanced- Parameters:
maxPerRouteConnections
- the value to set- Returns:
- the dsl builder
-
maxTotalConnections
default DockerComponentBuilderFactory.DockerComponentBuilder maxTotalConnections(Integer maxTotalConnections) Maximum total connections. The option is a: <code>java.lang.Integer</code> type. Default: 100 Group: advanced- Parameters:
maxTotalConnections
- the value to set- Returns:
- the dsl builder
-
parameters
default DockerComponentBuilderFactory.DockerComponentBuilder parameters(Map<String, Object> parameters) Additional configuration parameters as key/value pairs. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
parameters
- the value to set- Returns:
- the dsl builder
-
serverAddress
Server address for docker registry. The option is a: <code>java.lang.String</code> 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: <code>boolean</code> type. Default: true Group: advanced- Parameters:
socket
- the value to set- Returns:
- the dsl builder
-
certPath
Location containing the SSL certificate chain. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
certPath
- the value to set- Returns:
- the dsl builder
-
password
Password to authenticate with. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
secure
Use HTTPS communication. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
tlsVerify
Check TLS. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
tlsVerify
- the value to set- Returns:
- the dsl builder
-
username
User name to authenticate with. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-