Here's a test case to show the kind of thing we can now do...
http://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/StartAndStopRoutesTest.java

there's now a start/stop route method on CamelContext where you can
start or stop individual routes using the route definition (which lets
you also mutate routes). Routes with the same ID replace old ones,
otherwise its a new route. So you could get a route definition, clear
the ID and start it to clone a route.

So far it looks like most of the tests still pass. Do folks think the
API seems OK to them? I've tried to hide as much of the internal
details as possible - so the API is primarily dealing with the route
definitions (RouteType classes)

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Reply via email to