From commits-return-77257-archive-asf-public=cust-asf.ponee.io@camel.apache.org Tue Sep 10 09:32:40 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0513A180651 for ; Tue, 10 Sep 2019 11:32:39 +0200 (CEST) Received: (qmail 31543 invoked by uid 500); 10 Sep 2019 09:32:39 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 31452 invoked by uid 99); 10 Sep 2019 09:32:39 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Sep 2019 09:32:39 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 5392D812B8; Tue, 10 Sep 2019 09:32:39 +0000 (UTC) Date: Tue, 10 Sep 2019 09:32:39 +0000 To: "commits@camel.apache.org" Subject: [camel] 01/05: CAMEL-13887 - camel-mongodb-gridfs - Mongo to MongoClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <156810795839.2777.9359019394599341693@gitbox.apache.org> References: <156810795839.2777.9359019394599341693@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: ab3391c3a81585c91dc49e764a6782391fadb129 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20190910093239.5392D812B8@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git commit ab3391c3a81585c91dc49e764a6782391fadb129 Author: Andrea Cosentino AuthorDate: Tue Sep 10 11:24:03 2019 +0200 CAMEL-13887 - camel-mongodb-gridfs - Mongo to MongoClient --- .../org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java index 2803fab..bf96120 100644 --- a/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java +++ b/components/camel-mongodb-gridfs/src/main/java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java @@ -77,7 +77,7 @@ public class GridFsEndpoint extends DefaultEndpoint { private String fileAttributeName = "camel-processed"; - private Mongo mongoConnection; + private MongoClient mongoConnection; private DB db; private GridFS gridFs; private DBCollection filesCollection; @@ -156,7 +156,7 @@ public class GridFsEndpoint extends DefaultEndpoint { this.connectionBean = connectionBean; } - public Mongo getMongoConnection() { + public MongoClient getMongoConnection() { return mongoConnection; } @@ -165,7 +165,7 @@ public class GridFsEndpoint extends DefaultEndpoint { * * @param mongoConnection the connection to the database */ - public void setMongoConnection(Mongo mongoConnection) { + public void setMongoConnection(MongoClient mongoConnection) { this.mongoConnection = mongoConnection; }