public class JsonSourceHandlerFactoryImpl extends Object implements org.apache.camel.component.xslt.SourceHandlerFactory
| Constructor and Description |
|---|
JsonSourceHandlerFactoryImpl(com.fasterxml.jackson.core.JsonFactory jsonFactory)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
Source |
getSource(org.apache.camel.Exchange exchange) |
boolean |
isFailOnNullBody()
Returns if we fail when the body is null
|
void |
setFailOnNullBody(boolean failOnNullBody)
Set if we should fail when the body is null
|
public JsonSourceHandlerFactoryImpl(com.fasterxml.jackson.core.JsonFactory jsonFactory)
jsonFactory - the jsonFactory to use to read the json documentApache Camel