camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nferr...@apache.org
Subject camel git commit: CAMEL-10358: do not clear the registry too early
Date Fri, 07 Oct 2016 08:51:48 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 1df40f5f5 -> ea4b27fbe


CAMEL-10358: do not clear the registry too early


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ea4b27fb
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ea4b27fb
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ea4b27fb

Branch: refs/heads/camel-2.18.x
Commit: ea4b27fbe1ff44d546c018c1436cab701a8705cf
Parents: 1df40f5
Author: Nicola Ferraro <ni.ferraro@gmail.com>
Authored: Thu Oct 6 11:11:59 2016 +0200
Committer: Nicola Ferraro <ni.ferraro@gmail.com>
Committed: Fri Oct 7 10:50:47 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/undertow/UndertowComponent.java | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ea4b27fb/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
index 225fd42..f2b78c3 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/UndertowComponent.java
@@ -274,12 +274,6 @@ public class UndertowComponent extends UriEndpointComponent implements
RestConsu
         }
     }
 
-    @Override
-    protected void doStop() throws Exception {
-        super.doStop();
-        serversRegistry.clear();
-    }
-
     public void registerConsumer(UndertowConsumer consumer) {
         int port = consumer.getEndpoint().getHttpURI().getPort();
         if (serversRegistry.containsKey(port)) {


Mime
View raw message