Constructor and Description |
---|
SparkConfiguration() |
Modifier and Type | Method and Description |
---|---|
SparkConfiguration |
copy()
Returns a copy of this configuration
|
boolean |
isDisableStreamCache() |
boolean |
isMapHeaders() |
boolean |
isMatchOnUriPrefix() |
boolean |
isTransferException() |
boolean |
isUrlDecodeHeaders() |
void |
setDisableStreamCache(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.
|
void |
setMapHeaders(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).
|
void |
setMatchOnUriPrefix(boolean matchOnUriPrefix)
Whether or not the consumer should try to find a target consumer by matching the URI prefix if no exact match is found.
|
void |
setTransferException(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.
|
void |
setUrlDecodeHeaders(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.)
|
public boolean isMapHeaders()
public SparkConfiguration copy()
public void setMapHeaders(boolean mapHeaders)
public boolean isDisableStreamCache()
public void setDisableStreamCache(boolean disableStreamCache)
public boolean isUrlDecodeHeaders()
public void setUrlDecodeHeaders(boolean urlDecodeHeaders)
public boolean isTransferException()
public void setTransferException(boolean transferException)
public boolean isMatchOnUriPrefix()
public void setMatchOnUriPrefix(boolean matchOnUriPrefix)
Apache Camel