Instantly share code, notes, and snippets.

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