You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "John Poth (Jira)" <ji...@apache.org> on 2024/02/19 08:33:00 UTC
[jira] [Assigned] (CAMEL-20411) camel-mongodb: Add findAndModify Operation
[ https://issues.apache.org/jira/browse/CAMEL-20411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Poth reassigned CAMEL-20411:
---------------------------------
Assignee: John Poth
> camel-mongodb: Add findAndModify Operation
> ------------------------------------------
>
> Key: CAMEL-20411
> URL: https://issues.apache.org/jira/browse/CAMEL-20411
> Project: Camel
> Issue Type: Improvement
> Components: camel-mongodb
> Reporter: John Poth
> Assignee: John Poth
> Priority: Minor
> Fix For: 4.x
>
>
> Seems like it's implemented in three methods in the underlying MangoDB driver Java API: [findOneAndUpdate|https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/main/com/mongodb/client/MongoCollection.java#L1529], [findOneAndReplace|https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/main/com/mongodb/client/MongoCollection.java#L1452], [findOneAndDelete|https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/main/com/mongodb/client/MongoCollection.java#L1397].
> I think it would make sense to mirror that and add three [_MongoDbOperations_|https://github.com/apache/camel/blob/main/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbOperation.java#L19] in Camel.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)