This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push: new eaaf2d0 CAMEL-13123 - camel-mongodb3: don't close connection on endpoint stop eaaf2d0 is described below commit eaaf2d05e26b8039e1b187af0815bb12e553fdc2 Author: xificurC <xific...@gmail.com> AuthorDate: Thu Jan 24 16:02:06 2019 +0100 CAMEL-13123 - camel-mongodb3: don't close connection on endpoint stop --- .../org/apache/camel/component/mongodb3/MongoDbEndpoint.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbEndpoint.java b/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbEndpoint.java index cbee2fb..1a3e419 100644 --- a/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbEndpoint.java +++ b/components/camel-mongodb3/src/main/java/org/apache/camel/component/mongodb3/MongoDbEndpoint.java @@ -302,15 +302,6 @@ public class MongoDbEndpoint extends DefaultEndpoint { super.doStart(); } - @Override - protected void doStop() throws Exception { - super.doStop(); - if (mongoConnection != null) { - LOG.debug("Closing connection"); - mongoConnection.close(); - } - } - // ======= Getters and setters // ===============================================