camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Comment Edited] (CAMEL-10537) Unable to remove/add restful path to an existing endpoint
Date Wed, 01 Mar 2017 10:32:45 GMT


Claus Ibsen edited comment on CAMEL-10537 at 3/1/17 10:32 AM:

This is currently not intended to be supported to remove / add rest's at runtime, however
we can make it do so

was (Author: davsclaus):
This is currently not supported to remove rest's at runtime

> Unable to remove/add restful path to an existing endpoint
> ---------------------------------------------------------
>                 Key: CAMEL-10537
>                 URL:
>             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:
> 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

View raw message