public static interface SparkEndpointBuilderFactory.SparkEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
accept(String accept)
Accept type such as: 'text/xml', or 'application/json'.
|
default SparkEndpointBuilderFactory.AdvancedSparkEndpointBuilder |
advanced() |
default 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 |
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 |
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 |
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 |
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 |
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).
|
default 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 |
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 |
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 |
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.).
|
default SparkEndpointBuilderFactory.AdvancedSparkEndpointBuilder advanced()
default SparkEndpointBuilderFactory.SparkEndpointBuilder accept(String accept)
java.lang.String type.
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder disableStreamCache(boolean disableStreamCache)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder disableStreamCache(String disableStreamCache)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder mapHeaders(boolean mapHeaders)
boolean type.
Default: true
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder mapHeaders(String mapHeaders)
boolean type.
Default: true
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder transferException(boolean transferException)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder transferException(String transferException)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder urlDecodeHeaders(boolean urlDecodeHeaders)
boolean type.
Default: false
Group: consumerdefault SparkEndpointBuilderFactory.SparkEndpointBuilder urlDecodeHeaders(String urlDecodeHeaders)
boolean type.
Default: false
Group: consumerApache Camel