Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10537

Unable to remove/add restful path to an existing endpoint

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.0
    • 2.18.3, 2.19.0
    • camel-jetty
    • None
    • any

    • Unknown

    Description

      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.

      Attachments

        1. RoutesTest.java
          3 kB
          Sergey Zolotaryov

        Activity

          People

            davsclaus Claus Ibsen
            anydoby Sergey Zolotaryov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: