I am trying to run the following route. The purpose of this is to look in the
body (json) and based on the header's name field, unmarshall to a POJO then
continue. If there's a better way to accomplish this (there will need to be
more types, of course) I am very happy to hear that too.
<dataFormats>
<json id="VerifyEmployeeRequest" library="Jackson"
unmarshalTypeName="my.class.path.VerifyEmployeeRequest"/>
</dataFormats>
<route>
<from uri="seda:from_rraa"/>
<choice>
<when>
<jsonpath>$.header[?(@.name ==
"VerifyEmployeeRequest")]</jsonpath>
<unmarshal ref="VerifyEmployeeRequest"/>
</when>
</choice>
<process ref="myMock"/>
<to uri="seda:to_rraa"/>
</route>
At runtime I get this exception:
Caused by: org.apache.camel.NoSuchLanguageException: No language could be
found for: jsonpath
What language is this looking for and how do I get it?
Thank you,
Steve Huston
--
View this message in context:
http://camel.465427.n5.nabble.com/What-language-is-jsonpath-looking-for-tp5770979.html
Sent from the Camel - Users mailing list archive at Nabble.com.