The mongodb component is using the Jackson library for object mapping and has
mapping of dates defaulted to Unix timestamps rather than ISODate.  This
causes some problems with using the Aggregation Framework and makes queries
more difficult to view dates.

There is an option to set this default behavior using the following:

objectMapper.configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS,
false);

Is there a way to get access to the Jackson ObjectMapper to set this option
during set up of the camel context etc?

thanks,

Ron



--
View this message in context: 
http://camel.465427.n5.nabble.com/MongoDB-Jackson-Date-Mapping-Option-tp5727548.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to