camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kraythe ." <kray...@gmail.com>
Subject Re: Content Based Routing with Camel
Date Mon, 09 Dec 2013 14:51:32 GMT
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 <madusankabalasooriya@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message