Hey guys.
I have a rout that calls a rest service. It returns a json response that I
would like to split and send to a second route.
Camel 2.15.2
<to uri="direct:getContent" />
<split>
<jsonpath>$.content</jsonpath>
<log message="Splited: ${body}" />
<to uri="direct:toFlow"/>
</split>
The response form getContent:
{
"content" : [ {
"action" : "CU",
"modifiedTime" : "2015-07-28T11:40:09.520+02:00",
...
}
}, {
"action" : "CU",
"modifiedTime" : "2015-07-28T11:40:09.520+02:00",
...
}
} ]
}
After the split:
{action=CU, modifiedTime=2015-07-28T11:40:09.520+02:00, ...}
All quotes have been removed and by next rout fails. Is there a way to keep
the quotes them?
Cheers
Vesco.
--
View this message in context:
http://camel.465427.n5.nabble.com/JsonPath-stripes-quotes-during-split-tp5771398.html
Sent from the Camel - Users mailing list archive at Nabble.com.