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 321E8200C2A for ; Wed, 1 Mar 2017 13:20:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 30CA5160B70; Wed, 1 Mar 2017 12:20: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 74F99160B5E for ; Wed, 1 Mar 2017 13:20:49 +0100 (CET) Received: (qmail 91712 invoked by uid 500); 1 Mar 2017 12:20:48 -0000 Mailing-List: contact issues-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 issues@camel.apache.org Received: (qmail 91703 invoked by uid 99); 1 Mar 2017 12:20:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2017 12:20:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 120BA1A7AC0 for ; Wed, 1 Mar 2017 12:20:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QVfagUO3LYOu for ; Wed, 1 Mar 2017 12:20:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 92C6C5F23D for ; Wed, 1 Mar 2017 12:20:46 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BC039E04FE for ; Wed, 1 Mar 2017 12:20:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7479924158 for ; Wed, 1 Mar 2017 12:20:45 +0000 (UTC) Date: Wed, 1 Mar 2017 12:20:45 +0000 (UTC) From: "Sergey Zolotaryov (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-10537) Unable to remove/add restful path to an existing endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Mar 2017 12:20:50 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15890060#comment-15890060 ] Sergey Zolotaryov commented on CAMEL-10537: ------------------------------------------- This is great news, thank you, Claus > Unable to remove/add restful path to an existing endpoint > --------------------------------------------------------- > > Key: CAMEL-10537 > URL: https://issues.apache.org/jira/browse/CAMEL-10537 > Project: Camel > Issue Type: Bug > Components: camel-jetty > Affects Versions: 2.18.0 > Environment: any > Reporter: Sergey Zolotaryov > Assignee: Claus Ibsen > Fix For: 2.18.3, 2.19.0 > > Attachments: RoutesTest.java > > > I am trying to re-add a rest definition to an existing jetty restConfiguration with the following exception: > org.apache.camel.FailedToStartRouteException: Failed to start route issues because of Multiple consumers for the same endpoint is not allowed: jetty:http://localhost:8080/issues/%7Bisin%7D/%7Bsedol%7D?httpMethodRestrict=GET > This is obviously a bug since the first time I can add multiple rest routes to the same endpoint (jetty or any other). Later while trying to remove/add a route I get this error. I attach a unit test to illustrate the problem. -- This message was sent by Atlassian JIRA (v6.3.15#6346)