| Package | Description |
|---|---|
| org.apache.camel.builder.component | |
| org.apache.camel.builder.component.dsl |
| Modifier and Type | Method and Description |
|---|---|
static SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
ComponentsBuilderFactory.sparkRest()
Spark Rest (camel-spark-rest)
The spark-rest component is used for hosting REST services which has been
defined using Camel rest-dsl.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
SparkRestComponentBuilderFactory.SparkRestComponentBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
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 |
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 |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.ipAddress(String ipAddress)
Set the IP address that Spark should listen on.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.keystoreFile(String keystoreFile)
Configures connection to be secure to use the keystore file.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.keystorePassword(String keystorePassword)
Configures connection to be secure to use the keystore password.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.maxThreads(int maxThreads)
Maximum number of threads in Spark thread-pool (shared globally).
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.minThreads(int minThreads)
Minimum number of threads in Spark thread-pool (shared globally).
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.port(int port)
Port number.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.sparkBinding(org.apache.camel.component.sparkrest.SparkBinding sparkBinding)
To use a custom SparkBinding to map to/from Camel message.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.sparkConfiguration(org.apache.camel.component.sparkrest.SparkConfiguration sparkConfiguration)
To use the shared SparkConfiguration.
|
static SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.sparkRest()
Spark Rest (camel-spark-rest)
The spark-rest component is used for hosting REST services which has been
defined using Camel rest-dsl.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
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 |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.truststoreFile(String truststoreFile)
Configures connection to be secure to use the truststore file.
|
default SparkRestComponentBuilderFactory.SparkRestComponentBuilder |
SparkRestComponentBuilderFactory.SparkRestComponentBuilder.truststorePassword(String truststorePassword)
Configures connection to be secure to use the truststore password.
|
Apache Camel