Yes I can try that. To make sure I am on the same page is this what you are
asking for?

*Route:*
/<convertBodyTo type="String" />
      <to
uri="mongodb:mongoBean?database=PMA&amp;collection=Elmah&amp;writeResultAsHeader=true&amp;operation=insert"
/>/

*JSON to send:*
/{ "time" : { "$date" : "2016-02-19T17:37:57.673+0000" } }/


Or do think we should not perform the convertBodyTo string?

Thank you for the quick response! I seriously appreciate the attention.




--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5779043.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to