Hi

I was wondering if the same dataFormat object can be configured with more
than one unmarshalType class. Can this dataformat dynamically identify which
Pojo it should map dynamically?

Ex - I might receive from the same rest endpoint , json objects of 2 kinds.
I need to have different implementations for these 2 different type of json
objects received maybe by doing a CBR based on object instanceOf function.
But I need one dataformat above this step to identify the json type on
runtime and convert into corresponding Pojo.

How can we achieve this?

-Reji



-----
Reji Mathews
Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & 
Jboss Fuse ESB | Mule ESB )
LinkedIn - http://in.linkedin.com/pub/reji-mathews/31/9a2/40a
Twitter - reji_mathews
--
View this message in context: 
http://camel.465427.n5.nabble.com/Jackson-dataformat-multiple-unmarshallType-classes-tp5792907.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to