gnodet commented on PR #31340: URL: https://github.com/apache/camel/pull/31340#issuecomment-7409038849
**On the writeConcern changes:** The removal of the default value is a subtle but important fix. The old behavior of always applying `ACKNOWLEDGED` meant users couldn't use their client's write concern (e.g., `w=majority` in the connection string). The new behavior correctly: 1. Returns `null` from `getWriteConcernBean()` when not set 2. Only calls `withWriteConcern()` when non-null 3. Applies it to all collections, including those from headers This preserves the client's write concern when the option isn't explicitly set, which is the expected behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
