| Package | Description |
|---|---|
| org.apache.camel.builder.endpoint.dsl |
| Modifier and Type | Method and Description |
|---|---|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.accept(String accept)
Accept type such as: 'text/xml', or 'application/json'.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.AdvancedSparkEndpointBuilder.basic() |
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.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 SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.bridgeErrorHandler(String 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 SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.disableStreamCache(boolean disableStreamCache)
Determines whether or not the raw input stream from Spark
HttpRequest#getContent() is cached or not (Camel will read the stream
into a in light-weight memory based Stream caching) cache.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.disableStreamCache(String disableStreamCache)
Determines whether or not the raw input stream from Spark
HttpRequest#getContent() is cached or not (Camel will read the stream
into a in light-weight memory based Stream caching) cache.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.mapHeaders(boolean mapHeaders)
If this option is enabled, then during binding from Spark to Camel
Message then the headers will be mapped as well (eg added as header
to the Camel Message as well).
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.mapHeaders(String mapHeaders)
If this option is enabled, then during binding from Spark to Camel
Message then the headers will be mapped as well (eg added as header
to the Camel Message as well).
|
static SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.sparkRest(String path)
Spark Rest (camel-spark-rest)
The spark-rest component is used for hosting REST services which has been
defined using Camel rest-dsl.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkBuilders.sparkRest(String path)
Spark Rest (camel-spark-rest)
The spark-rest component is used for hosting REST services which has
been defined using Camel rest-dsl.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.transferException(boolean transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.transferException(String transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.urlDecodeHeaders(boolean urlDecodeHeaders)
If this option is enabled, then during binding from Spark to Camel
Message then the header values will be URL decoded (eg %20 will be a
space character.).
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
SparkEndpointBuilderFactory.SparkEndpointBuilder.urlDecodeHeaders(String urlDecodeHeaders)
If this option is enabled, then during binding from Spark to Camel
Message then the header values will be URL decoded (eg %20 will be a
space character.).
|
Apache Camel