You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ben O'Day (JIRA)" <ji...@apache.org> on 2010/08/19 00:06:47 UTC
[jira] Updated: (CAMEL-2993) Enable the deletion of routes via REST
in camel-web
[ https://issues.apache.org/activemq/browse/CAMEL-2993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ben O'Day updated CAMEL-2993:
-----------------------------
Attachment: camel-web-route-remove.txt
This patch adds the following:
-REST support for removing a route via URI /route/<routeid>/remove
-a new column to the route list page with a link to remove a given route
-a basic unit test of this API
Let me know if you have any feedback on this approach.
> 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
> 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.