camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Strachan <>
Subject starting, stopping, creating & editing routes at runtime now works - CAMEL-1004
Date Wed, 25 Feb 2009 18:29:48 GMT
Here's a test case to show the kind of thing we can now do...

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)


Open Source Integration

View raw message