[
https://issues.apache.org/jira/browse/CAMEL-12206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343206#comment-16343206
]
ASF GitHub Bot commented on CAMEL-12206:
----------------------------------------
oscerd commented on issue #2196: CAMEL-12206: use Bson instead of Document
URL: https://github.com/apache/camel/pull/2196#issuecomment-361208397
Thanks the PR has been merged on master
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> createDoRemove in MongoDbProducer should expect org.bson.conversions.Bson
> instead of org.bson.Document
> ------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-12206
> URL: https://issues.apache.org/jira/browse/CAMEL-12206
> Project: Camel
> Issue Type: Improvement
> Components: camel-mongodb3
> Affects Versions: 2.19.4
> Reporter: Oliver Koch
> Assignee: Andrea Cosentino
> Priority: Minor
> Fix For: 2.21.0
>
>
> The {{MongoDdProducer}} Method {{createDoRemove}} should expect
> {{org.bson.conversions.Bson}} in the Body, because it is one of the Main
> Features of the MongoDb 3.x Driver.
> It is also expected everywhere else in the Producer for Queries and is easier
> to use because of
> [Filters|https://mongodb.github.io/mongo-java-driver/3.4/javadoc/?com/mongodb/client/model/Filters.html]
> Helper Class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)