I checkout version 2.14.0 and looked at the call from a "save" to MongoDB.
In see a call to the save-method in DBCollection (code is below).

I can only say that I expect an insert will be done when there is no _id in
the
object you send to your route.

If you send an object with an _id an update should be done.

Can you check whether your second object has an _id set?





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

Reply via email to