Hello,

For anyone who may run into this.

It seems that if I add a field into my record and call 'save', this new
field is not stored in MongoDB.  So, say my original record is as follows:

{ id : "id", "firstName" : "First Name" }

and I want to update it with the following :

{ id : "id", "firstName" : "First Name", "lastName" : "Last Name" }

This does not update MongoDB.  But if my original record was as follows:

{ id : "id", "firstName" : "First Name", "lastName" : "" }

and then I 'save' with the new record, the record is stored in MongoDB. 
This may be a MongoDB issue.

thanks,
sgs.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-MongoDB-Save-Operation-Does-Not-Upsert-tp5783302p5784464.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to