Skip to content

Instantly share code, notes, and snippets.

@knalli
Created February 5, 2014 20:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Spring Integration 3 + Jackson 2 + Joda mappings
@Configuration
public class Config {
@Bean
public JsonObjectMapper<?> jsonObjectMapper() {
final ObjectMapper mapper = new ObjectMapper();
mapper.registerModule(new JodaModule());
return new Jackson2JsonObjectMapper(mapper);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment