..)/ (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
!
--
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.
$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
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.
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.
>
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.
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.
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
-to-insert-Date-String-as-date-in-MongoDB-tp5778310p5778555.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
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.
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
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
13 matches
Mail list logo