My route to filter the json classname with class is
<route>
<from uri="file:D:/inputFolder/jsonpath"/>
<choice>
<when>
<jsonpath>$..com.mycompany.app10.Person</jsonpath>
<to uri="file:D:/inputFolder/jsonpath/output"/>
</when>
</choice>
</route>
My sample input is
{"com.mycompany.app10.Person":{"firstName":"Gregory","surname":"Smith","type":"FAMILY"}}
In my route , if i use "<jsonpath>$..Person</jsonpath>" in the json path and
my input is
{"Person":{"firstName":"Gregory","surname":"Smith","type":"FAMILY"}}
It is working fine!!
But class with path is not working , is there any workaround for this.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-jsonpath-to-filter-classname-with-path-tp5795503.html
Sent from the Camel - Users mailing list archive at Nabble.com.