[camel] branch master updated (f3f31be -> 689ba28)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[camel] branch master updated (f3f31be -> 689ba28)

acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from f3f31be  Regen
     new ab3391c  CAMEL-13887 - camel-mongodb-gridfs - Mongo to MongoClient
     new d1fa72c  CAMEL-13887 - Fixed docs a bit
     new eb3763a  CAMEL-13887 - Regen docs
     new 61a40e6  Removed unused imports
     new 689ba28  Regen docs

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/docs/mongodb-gridfs-component.adoc                  | 2 +-
 .../apache/camel/component/mongodb/gridfs/GridFsEndpoint.java    | 9 ++++-----
 .../camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java | 2 +-
 docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc | 2 +-
 4 files changed, 7 insertions(+), 8 deletions(-)

Reply | Threaded
Open this post in threaded view
|

[camel] 01/05: CAMEL-13887 - camel-mongodb-gridfs - Mongo to MongoClient

acosentino
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 <[hidden email]>
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;
     }
 

Reply | Threaded
Open this post in threaded view
|

[camel] 02/05: CAMEL-13887 - Fixed docs a bit

acosentino
In reply to this post by acosentino
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 d1fa72cbaf55348bd21e823ff948aa50509dd85c
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Tue Sep 10 11:26:46 2019 +0200

    CAMEL-13887 - Fixed docs a bit
---
 .../java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 bf96120..45b2c42 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
@@ -150,7 +150,7 @@ public class GridFsEndpoint extends DefaultEndpoint {
     }
 
     /**
-     * Name of {@link com.mongodb.Mongo} to use.
+     * Name of {@link com.mongodb.MongoClient} to use.
      */
     public void setConnectionBean(String connectionBean) {
         this.connectionBean = connectionBean;

Reply | Threaded
Open this post in threaded view
|

[camel] 03/05: CAMEL-13887 - Regen docs

acosentino
In reply to this post by acosentino
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 eb3763af37ada5d3a67f1b56f4bdb8f663e3dad1
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Tue Sep 10 11:29:52 2019 +0200

    CAMEL-13887 - Regen docs
---
 .../camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc    | 2 +-
 .../apache/camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc b/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc
index 66be5be..5de0c17 100644
--- a/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc
+++ b/components/camel-mongodb-gridfs/src/main/docs/mongodb-gridfs-component.adoc
@@ -55,7 +55,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *connectionBean* | *Required* Name of com.mongodb.Mongo to use. |  | String
+| *connectionBean* | *Required* Name of com.mongodb.MongoClient to use. |  | String
 |===
 
 
diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java
index d1bb13d..4b035fb 100644
--- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/GridFsEndpointBuilderFactory.java
@@ -801,7 +801,7 @@ public interface GridFsEndpointBuilderFactory {
      * Syntax: <code>mongodb-gridfs:connectionBean</code>
      *
      * Path parameter: connectionBean (required)
-     * Name of com.mongodb.Mongo to use.
+     * Name of com.mongodb.MongoClient to use.
      */
     default GridFsEndpointBuilder mongodbGridfs(String path) {
         class GridFsEndpointBuilderImpl extends AbstractEndpointBuilder implements GridFsEndpointBuilder, AdvancedGridFsEndpointBuilder {

Reply | Threaded
Open this post in threaded view
|

[camel] 04/05: Removed unused imports

acosentino
In reply to this post by acosentino
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 61a40e635ddf673aac4f39641eae46d67c1d1ca6
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Tue Sep 10 11:31:20 2019 +0200

    Removed unused imports
---
 .../java/org/apache/camel/component/mongodb/gridfs/GridFsEndpoint.java   | 1 -
 1 file changed, 1 deletion(-)

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 45b2c42..2d79e50 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
@@ -18,7 +18,6 @@ package org.apache.camel.component.mongodb.gridfs;
 
 import com.mongodb.DB;
 import com.mongodb.DBCollection;
-import com.mongodb.Mongo;
 import com.mongodb.MongoClient;
 import com.mongodb.ReadPreference;
 import com.mongodb.WriteConcern;

Reply | Threaded
Open this post in threaded view
|

[camel] 05/05: Regen docs

acosentino
In reply to this post by acosentino
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 689ba2870e8619f963aefbecaab22fd73ce98302
Author: Andrea Cosentino <[hidden email]>
AuthorDate: Tue Sep 10 11:32:21 2019 +0200

    Regen docs
---
 docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc b/docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc
index c516419..cb0a83d 100644
--- a/docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc
+++ b/docs/components/modules/ROOT/pages/mongodb-gridfs-component.adoc
@@ -56,7 +56,7 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
-| *connectionBean* | *Required* Name of com.mongodb.Mongo to use. |  | String
+| *connectionBean* | *Required* Name of com.mongodb.MongoClient to use. |  | String
 |===