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 3fb01b6dc5910a3aa199b5f00510ec827037ffc0
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Thu Jul 18 10:18:43 2019 +0200

    CAMEL-13764 - fixing javadoc with PR suggestions
---
 .../org/apache/camel/component/mongodb3/MongoDbComponent.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbComponent.java
 
b/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbComponent.java
index 0463b1e..206230f 100644
--- 
a/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbComponent.java
+++ 
b/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbComponent.java
@@ -62,18 +62,19 @@ public class MongoDbComponent extends DefaultComponent {
     }
 
     /**
-     * Get the client used for connection
+     * Get the connection bean client used for connection.
      *
-     * @return the client using for connection to db
+     * @return the client used for connection to db
      */
     public MongoClient getMongoConnection() {
         return mongoConnection;
     }
 
     /**
-     * Set the client used for connection
+     * Set a client used for connection: all endpoints generated from the 
component
+     * will share this connection bean.
      *
-     * @param mongoConnection
+     * @param mongoConnection the connection bean used as client
      */
     public void setMongoConnection(MongoClient mongoConnection) {
         this.mongoConnection = mongoConnection;

Reply via email to