camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 01/05: CAMEL-13887 - camel-mongodb-gridfs - Mongo to MongoClient
Date Tue, 10 Sep 2019 09:32:39 GMT
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 <ancosen@gmail.com>
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;
     }
 


Mime
View raw message