THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
<dataFormats> <json id="json" library="Jackson" useList="true" unmarshalTypeName="com.foo.MyPojo"/> </dataFormats> |
Using custom Jackson ObjectMapper
Available as of Camel 2.17
You can use custom Jackson ObjectMapper instance, can be configured as shown below.
Code Block |
---|
<dataFormats>
<json id="json" library="Jackson" objectMapper="myMapper"/>
</dataFormats> |
Where myMapper is the id of the custom instance that Camel will lookup in the Registry
Using custom Jackson modules
Available as of Camel 2.15
...