camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r982300 - /camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java
Date Wed, 04 Aug 2010 15:28:43 GMT
Author: davsclaus
Date: Wed Aug  4 15:28:43 2010
New Revision: 982300

URL: http://svn.apache.org/viewvc?rev=982300&view=rev
Log:
Fixed compiler error

Modified:
    camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java

Modified: camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java?rev=982300&r1=982299&r2=982300&view=diff
==============================================================================
--- camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java
(original)
+++ camel/trunk/components/camel-web/src/main/java/org/apache/camel/web/resources/RouteResource.java
Wed Aug  4 15:28:43 2010
@@ -158,7 +158,7 @@ public class RouteResource extends Camel
         DefaultCamelContext defaultCamelContext = (DefaultCamelContext)getCamelContext();
         // stop and remove the original route
         defaultCamelContext.stopRoute(id);
-        defaultCamelContext.removeRouteDefinition(id);
+        defaultCamelContext.removeRoute(id);
 
         // add the routes in a route builder
         defaultCamelContext.addRoutes(builder);



Mime
View raw message