[ 
https://issues.apache.org/jira/browse/CAMEL-12206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16343190#comment-16343190
 ] 

ASF GitHub Bot commented on CAMEL-12206:
----------------------------------------

GitHub user oltoko opened a pull request:

    https://github.com/apache/camel/pull/2196

    CAMEL-12206: use Bson instead of Document

    MongoDbProducer should expect org.bson.conversions.Bson instead of 
org.bson.Document in createDoRemove

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/oltoko/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2196.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2196
    
----
commit 9a3abf6853111fa2a4cbddc93917672249e7b7d3
Author: Oliver Koch <o.koch@...>
Date:   2018-01-29T10:33:24Z

    CAMEL-12206: use Bson instead of Document
    
    MongoDbProducer should expect org.bson.conversions.Bson instead of 
org.bson.Document in createDoRemove

----


> 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
>            Priority: Minor
>
> 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)

Reply via email to