public interface JsonPathAdapter
Modifier and Type | Method and Description |
---|---|
void |
init(org.apache.camel.CamelContext camelContext)
Initializes the adapter
|
Map |
readValue(Object body,
org.apache.camel.Exchange exchange)
Attempt to read/convert the message body into a
Map type |
String |
writeAsString(Object value,
org.apache.camel.Exchange exchange)
Attempts to write the value as a JSOn
String value. |
void init(org.apache.camel.CamelContext camelContext)
camelContext
- the CamelContextMap readValue(Object body, org.apache.camel.Exchange exchange)
Map
typebody
- the message bodyexchange
- the Camel exchangeMap
or null if not possibleApache Camel