You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/01/25 08:47:17 UTC
[camel] branch camel-2.21.x updated: CAMEL-13123 - camel-mongodb3:
don't close connection on endpoint stop
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new 4989320 CAMEL-13123 - camel-mongodb3: don't close connection on endpoint stop
4989320 is described below
commit 498932094dbce489f5b23e77cf787b868527060a
Author: xificurC <xi...@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 77fec41..18de838 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
@@ -303,15 +303,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
// ===============================================