Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57769200B9A for ; Fri, 7 Oct 2016 10:51:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 560CB160AE8; Fri, 7 Oct 2016 08:51:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9B45C160AD6 for ; Fri, 7 Oct 2016 10:51:49 +0200 (CEST) Received: (qmail 10873 invoked by uid 500); 7 Oct 2016 08:51:48 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 10864 invoked by uid 99); 7 Oct 2016 08:51:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2016 08:51:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AC51CE0209; Fri, 7 Oct 2016 08:51:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nferraro@apache.org To: commits@camel.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: camel git commit: CAMEL-10358: do not clear the registry too early Date: Fri, 7 Oct 2016 08:51:48 +0000 (UTC) archived-at: Fri, 07 Oct 2016 08:51:50 -0000 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 Authored: Thu Oct 6 11:11:59 2016 +0200 Committer: Nicola Ferraro 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)) {