Interface JsonPathAdapter
- All Known Implementing Classes:
JacksonJsonAdapter
public interface JsonPathAdapter
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(org.apache.camel.CamelContext camelContext) Initializes the adapterAttempt to read/convert the message body into aMaptypewriteAsString(Object value, org.apache.camel.Exchange exchange) Attempts to write the value as a JSOnStringvalue.
-
Method Details
-
init
void init(org.apache.camel.CamelContext camelContext) Initializes the adapter- Parameters:
camelContext- the CamelContext
-
readValue
-
writeAsString
-