Re: How to insert Date String as date in MongoDB

2016-03-15 Thread gramanero
..)/ (which is how the callers will be sending the payload in to the route) to /{ "$date" : "...Z" }/ so that I can put this piece to rest. Does any of that make sense to you? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-da

Re: How to insert Date String as date in MongoDB

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

Re: How to insert Date String as date in MongoDB

2016-03-14 Thread Raul Kripalani
$date" : "2016-02-19T17:37:57.673+" } }/ > > > 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.465

Re: How to insert Date String as date in MongoDB

2016-03-14 Thread gramanero
he 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.

Re: How to insert Date String as date in MongoDB

2016-03-14 Thread Raul Kripalani
to convert type org.apache.camel.impl.DefaultMessage. > Returning null. camel-mongodb/ > > > *3/4/2016, 4:29:33 PM INFO* /[TRACE] After unmarshall - { "time" : { > "$date" > : "2016-02-19T17:37:57.673+" } } > camel-core / > > > *3/4/2016, 4:29:33 PM INFO* /[TRACE] Before unmarshall - { "time" : { > "$date" : "2016-02-19T17:37:57.673+" } } > camel-core / > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778652.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Re: How to insert Date String as date in MongoDB

2016-03-14 Thread gramanero
Any thoughts on my last post as to how we can use ISODates with camel-mongo? Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5779035.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to insert Date String as date in MongoDB

2016-03-04 Thread gramanero
7:37:57.673+0000" } } camel-core / -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778652.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to insert Date String as date in MongoDB

2016-03-03 Thread Raul Kripalani
fferent thread and the datatype I am trying to do this with > is > the ISODate built-in mongo type. I am using Spring DSL as well. Thanks! > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p577855

Re: How to insert Date String as date in MongoDB

2016-03-03 Thread gramanero
-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778555.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to insert Date String as date in MongoDB

2016-02-29 Thread yogu13
Apologies for delayed response! can u try having it as Date instead of String? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778457.html Sent from the Camel - Users mailing list archive at

Re: How to insert Date String as date in MongoDB

2016-02-28 Thread Royamit
It is of type string -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778407.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to insert Date String as date in MongoDB

2016-02-27 Thread yogu13
Hi, What datatype is CreatedDateTimeUTC after it is converted using .convertBodyTo(DBObject.class) Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/How-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778385.html Sent from the Camel - Users mailing

How to insert Date String as date in MongoDB

2016-02-26 Thread Royamit
ets inserted as String instead of Date. I have tried MongoDB sample through java code and am able to insert Date as ISODate. But when I am trying to insert data using camel . I am not able to do so. So my question is how can I insert CreatedDateTimeUTC as Date Object in MongoDB. -- View thi