public static interface SparkRestComponentBuilderFactory.SparkRestComponentBuilder extends ComponentBuilder<org.apache.camel.component.sparkrest.SparkComponent>
| Modifier and Type | Method and Description |
|---|---|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
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 SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
ipAddress(String ipAddress)
Set the IP address that Spark should listen on.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
keystoreFile(String keystoreFile)
Configures connection to be secure to use the keystore file.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
keystorePassword(String keystorePassword)
Configures connection to be secure to use the keystore password.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
maxThreads(int maxThreads)
Maximum number of threads in Spark thread-pool (shared globally).
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
minThreads(int minThreads)
Minimum number of threads in Spark thread-pool (shared globally).
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
port(int port)
Port number.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
sparkBinding(org.apache.camel.component.sparkrest.SparkBinding sparkBinding)
To use a custom SparkBinding to map to/from Camel message.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
sparkConfiguration(org.apache.camel.component.sparkrest.SparkConfiguration sparkConfiguration)
To use the shared SparkConfiguration.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
timeOutMillis(int timeOutMillis)
Thread idle timeout in millis where threads that has been idle for a
longer period will be terminated from the thread pool.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
truststoreFile(String truststoreFile)
Configures connection to be secure to use the truststore file.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
truststorePassword(String truststorePassword)
Configures connection to be secure to use the truststore password.
|
build, build, doSetProperty, registerdefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder ipAddress(String ipAddress)
java.lang.String type.
Default: 0.0.0.0
Group: consumerdefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder port(int port)
int type.
Default: 4567
Group: consumerdefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder maxThreads(int maxThreads)
int type.
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder minThreads(int minThreads)
int type.
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder sparkBinding(org.apache.camel.component.sparkrest.SparkBinding sparkBinding)
org.apache.camel.component.sparkrest.SparkBinding type.
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder sparkConfiguration(org.apache.camel.component.sparkrest.SparkConfiguration sparkConfiguration)
org.apache.camel.component.sparkrest.SparkConfiguration
type.
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder timeOutMillis(int timeOutMillis)
int type.
Group: advanceddefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder keystoreFile(String keystoreFile)
java.lang.String type.
Group: securitydefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder keystorePassword(String keystorePassword)
java.lang.String type.
Group: securitydefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder truststoreFile(String truststoreFile)
java.lang.String type.
Group: securitydefault SparkRestComponentBuilderFactory.SparkRestComponentBuilder truststorePassword(String truststorePassword)
java.lang.String type.
Group: securityApache Camel