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
All Methods Instance Methods Default Methods Modifier and Type Method Description default DockerComponentBuilderFactory.DockerComponentBuilder
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.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.default DockerComponentBuilderFactory.DockerComponentBuilder
certPath(String certPath)
Location containing the SSL certificate chain.default DockerComponentBuilderFactory.DockerComponentBuilder
cmdExecFactory(String cmdExecFactory)
The fully qualified class name of the DockerCmdExecFactory implementation to use.default DockerComponentBuilderFactory.DockerComponentBuilder
configuration(org.apache.camel.component.docker.DockerConfiguration configuration)
To use the shared docker configuration.default DockerComponentBuilderFactory.DockerComponentBuilder
email(String email)
Email address associated with the user.default DockerComponentBuilderFactory.DockerComponentBuilder
followRedirectFilter(boolean followRedirectFilter)
Whether to follow redirect filter.default DockerComponentBuilderFactory.DockerComponentBuilder
host(String host)
Docker host.default DockerComponentBuilderFactory.DockerComponentBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default DockerComponentBuilderFactory.DockerComponentBuilder
loggingFilter(boolean loggingFilter)
Whether to use logging filter.default DockerComponentBuilderFactory.DockerComponentBuilder
maxPerRouteConnections(Integer maxPerRouteConnections)
Maximum route connections.default DockerComponentBuilderFactory.DockerComponentBuilder
maxTotalConnections(Integer maxTotalConnections)
Maximum total connections.default DockerComponentBuilderFactory.DockerComponentBuilder
parameters(Map<String,Object> parameters)
Additional configuration parameters as key/value pairs.default DockerComponentBuilderFactory.DockerComponentBuilder
password(String password)
Password to authenticate with.default DockerComponentBuilderFactory.DockerComponentBuilder
port(Integer port)
Docker port.default DockerComponentBuilderFactory.DockerComponentBuilder
requestTimeout(Integer requestTimeout)
Request timeout for response (in seconds).default DockerComponentBuilderFactory.DockerComponentBuilder
secure(boolean secure)
Use HTTPS communication.default DockerComponentBuilderFactory.DockerComponentBuilder
serverAddress(String serverAddress)
Server address for docker registry.default DockerComponentBuilderFactory.DockerComponentBuilder
socket(boolean socket)
Socket connection mode.default DockerComponentBuilderFactory.DockerComponentBuilder
tlsVerify(boolean tlsVerify)
Check TLS.default DockerComponentBuilderFactory.DockerComponentBuilder
username(String username)
User name to authenticate with.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
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
default DockerComponentBuilderFactory.DockerComponentBuilder email(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder host(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder port(Integer 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
default DockerComponentBuilderFactory.DockerComponentBuilder requestTimeout(Integer 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
default DockerComponentBuilderFactory.DockerComponentBuilder cmdExecFactory(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder loggingFilter(boolean 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
default DockerComponentBuilderFactory.DockerComponentBuilder serverAddress(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder socket(boolean 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
default DockerComponentBuilderFactory.DockerComponentBuilder certPath(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder password(String 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
default DockerComponentBuilderFactory.DockerComponentBuilder secure(boolean 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
default DockerComponentBuilderFactory.DockerComponentBuilder tlsVerify(boolean 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
default DockerComponentBuilderFactory.DockerComponentBuilder username(String 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
-
-