Woo hoo. I'm looking forward to the release of Spring Boot Camel. On Wed, Feb 18, 2015 at 1:04 AM, hekonsek [via Camel] < ml-node+s465427n5762882...@n5.nabble.com> wrote:
> 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 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=5762882&i=0>> 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 <[hidden email] > <http:///user/SendEmail.jtp?type=node&node=5762882&i=1>> 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: [hidden email] > <http:///user/SendEmail.jtp?type=node&node=5762882&i=2> > > 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 > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5.nabble.com/Camel-Spring-Boot-Joda-DateTime-serialization-support-with-Jackson-JSON-tp5762854p5762882.html > To unsubscribe from Camel Spring Boot Joda DateTime serialization support > with Jackson JSON, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5762854&code=YmVuamFtaW4uZmF5bGVAdGFnZ2EuY29tfDU3NjI4NTR8LTIxMTkwODk3OTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Benjamin Fayle CTO *tagga* Connect. Profile. Engage c: 604-224-9393 t: @tagga <https://twitter.com/tagga> -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-Boot-Joda-DateTime-serialization-support-with-Jackson-JSON-tp5762854p5762883.html Sent from the Camel - Users mailing list archive at Nabble.com.