public static interface ConsulComponentBuilderFactory.ConsulComponentBuilder extends ComponentBuilder<org.apache.camel.component.consul.ConsulComponent>
| Modifier and Type | Method and Description |
|---|---|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
aclToken(String aclToken)
Sets the ACL token to be used with Consul.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
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 ConsulComponentBuilderFactory.ConsulComponentBuilder |
configuration(org.apache.camel.component.consul.ConsulConfiguration configuration)
Sets the common configuration shared among endpoints.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
datacenter(String datacenter)
The data center.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
password(String password)
Sets the password to be used for basic authentication.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
SSL configuration using an
org.apache.camel.support.jsse.SSLContextParameters instance.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
url(String url)
The Consul agent URL.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
default ConsulComponentBuilderFactory.ConsulComponentBuilder |
userName(String userName)
Sets the username to be used for basic authentication.
|
build, build, doSetProperty, registerdefault ConsulComponentBuilderFactory.ConsulComponentBuilder aclToken(String aclToken)
java.lang.String type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder datacenter(String datacenter)
java.lang.String type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder password(String password)
java.lang.String type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
org.apache.camel.support.jsse.SSLContextParameters type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder url(String url)
java.lang.String type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder userName(String userName)
java.lang.String type.
Group: commondefault ConsulComponentBuilderFactory.ConsulComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault ConsulComponentBuilderFactory.ConsulComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault ConsulComponentBuilderFactory.ConsulComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault ConsulComponentBuilderFactory.ConsulComponentBuilder configuration(org.apache.camel.component.consul.ConsulConfiguration configuration)
org.apache.camel.component.consul.ConsulConfiguration
type.
Group: advanceddefault ConsulComponentBuilderFactory.ConsulComponentBuilder useGlobalSslContextParameters(boolean useGlobalSslContextParameters)
boolean type.
Default: false
Group: securityApache Camel