Hi,

I will also update camel-spring-boot, so in Spring Boot applications
Boot Jackson config is reused by Camel.

Cheers.

On Wed, Feb 18, 2015 at 8:07 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi
>
> Yes CAMEL-8176 in next release makes this easier. Just set the module
> on the json data format.
>
> On Wed, Feb 18, 2015 at 1:14 AM, benjf <benjamin.fa...@tagga.com> wrote:
>> How do I configure Jackson JSON marshal/unmarshal to have global support for
>> the Joda DateTime type?
>>
>> Spring Boot now supports this:
>> https://spring.io/blog/2014/12/02/latest-jackson-integration-improvements-in-spring
>>
>> If I include this:
>>
>> https://github.com/FasterXML/jackson-datatype-joda
>>
>> <dependency>
>>   <groupId>com.fasterxml.jackson.datatype</groupId>
>>   <artifactId>jackson-datatype-joda</artifactId>
>>   <version>2.4.0</version>
>> </dependency>
>>
>> How can I customize the global ObjectMapper used by the marshal/unmarshal
>> commands?
>>
>> ObjectMapper mapper = new ObjectMapper();
>> mapper.registerModule(new JodaModule());
>>
>> This might be related: https://issues.apache.org/jira/browse/CAMEL-8176
>>
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/Camel-Spring-Boot-Joda-DateTime-serialization-support-with-Jackson-JSON-tp5762854.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> hawtio: http://hawt.io/
> fabric8: http://fabric8.io/



-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to