camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Zolotaryov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10537) Unable to remove/add restful path to an existing endpoint
Date Sat, 26 Nov 2016 23:19:58 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Zolotaryov updated CAMEL-10537:
--------------------------------------
    Attachment: RoutesTest.java

A unit test which reproduces the issue.

> 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
>         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.4#6332)

Mime
View raw message