Using camel's xmljson, I had no problem converting XML into JSON using
"marshal"
When I tried to do the reverse it failed. (unmarshal)
The "body" that was in place was a DBObject I had just retrieved from
Mongodb.
I tried converting to a string first too.  Didn't work.
I'm using 2.13  Spring DSL

The error is:
org.apache.camel.InvalidPayloadException: No body available of type:
java.io.InputStream but has value: --quotes my json string here--

Any guidance appreciated.



--
View this message in context: 
http://camel.465427.n5.nabble.com/xmljson-component-failing-to-do-json-xml-conversion-tp5759488.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to