Easiest way is to deserialize with Jackson2 into a JSON Tree and then navigate the tree to get the info. Means you dont need a pojo or mapping but can still fetch the data without resortign to string parsing. I dont know how mature JSONPathc is anyway. We will see if it holds any benefit over going about it manually.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39 <http://www.linkedin.com/pub/robert-simmons/40/852/a39>* On Mon, Dec 9, 2013 at 6:43 AM, madusanka <madusankabalasoor...@gmail.com>wrote: > I have to detect what type they are first and then route to the appropriate > service provider. I was wondering if JSONPath is supported in early > versions > of Camel ? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495p5744508.html > Sent from the Camel - Users mailing list archive at Nabble.com. >