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/02/11 18:41:00 UTC
[camel] branch camel-2.23.x updated: Camel 2.23.x : CAMEL-13125
(#2758)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.23.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.23.x by this push:
new a26b6bc Camel 2.23.x : CAMEL-13125 (#2758)
a26b6bc is described below
commit a26b6bc817e8f7d4808efa232f470ec306af76fb
Author: bwesterfield <bw...@gmail.com>
AuthorDate: Mon Feb 11 13:40:53 2019 -0500
Camel 2.23.x : CAMEL-13125 (#2758)
* removal of stop method in MongoDbEndpoint
* CAMEL-13125 : Removal of stop method from MongoDbEndpoint
---
.../java/org/apache/camel/component/mongodb/MongoDbEndpoint.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java
index 12a92bd..3ef9e6f 100644
--- a/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java
+++ b/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbEndpoint.java
@@ -295,15 +295,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();
- }
- }
-
public Exchange createMongoDbExchange(DBObject dbObj) {
Exchange exchange = super.createExchange();
Message message = exchange.getIn();