camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GPRSLyons <GPRSLy...@gmail.com>
Subject Re: Custom Jackson ObjectMapper
Date Mon, 30 Jan 2012 18:14:40 GMT
Is there a currently implemented way in Camel to apply a custom naming
strategy to Jackson (such as LowerCaseWithUnderscoresStrategy
http://jackson.codehaus.org/1.9.4/javadoc/org/codehaus/jackson/map/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html)?

Or will this only be possible when we get access to the ObjectMapper in 3.0
via

ObjectMapper mapper = new ObjectMapper();
mapper.setPropertyNamingStrategy(new LowerCaseWithUnderscoresStrategy());

Thanks!

--
View this message in context: http://camel.465427.n5.nabble.com/Custom-Jackson-ObjectMapper-tp5060579p5442178.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message