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
The following commit(s) were added to refs/heads/master by this push: new e3ffc51 CAMEL-13123 - camel-mongodb3: don't close connection on endpoint stop e3ffc51 is described below commit e3ffc51133a329c5bb56364f0cccd7a62a248fd0 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 00c64e1..0476f9e 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 @@ -298,15 +298,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 // ===============================================