[ 
https://issues.apache.org/activemq/browse/CAMEL-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61311#action_61311
 ] 

Claus Ibsen commented on CAMEL-2993:
------------------------------------

Ah thanks Ben for the patch.

I have though, maybe the remove button should only be visible when the route 
has been stopped first.
This ensures its a 2 way step to remove a route. 1 = stop, 2 = remove. 
This is the same way you have to do it from JMX.

For example to avoid troubles if you accidentally press the wrong button on a 
running route.

> Enable the deletion of routes via REST in camel-web
> ---------------------------------------------------
>
>                 Key: CAMEL-2993
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2993
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-web
>    Affects Versions: 2.1.0, 2.2.0, 2.3.0, 2.4.0
>         Environment: Any
>            Reporter: Max Ullinger
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>         Attachments: camel-web-route-remove.txt
>
>
> 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);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to