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

Enable the deletion of routes via REST in camel-web

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0, 2.3.0, 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: camel-web
    • Labels:
      None
    • Environment:

      Any

      Description

      The camel-web allows a user to deploy and manipulate routes.

      It seems currently impossible to delete routes through camel-web.
      A delete operation on the route to be deleted would complete the REST interface:
      http://en.wikipedia.org/wiki/Representational_State_Transfer#RESTful_web_services
      e.g.:

      RouteResource.java

      @Delete
      public void removeRoute()

      { getCamelContext().removeRouteDefinition(this.name); }

        Attachments

        1. camel-web-route-remove.txt
          3 kB
          Benjamin P. O'Day
        2. camel-web-route-hide-remove-until-stopped.txt
          0.7 kB
          Benjamin P. O'Day

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              mullinger Max Ullinger
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: