2009/2/4 Claus Ibsen <[email protected]>: > On Wed, Feb 4, 2009 at 5:03 AM, yesnid <[email protected]> wrote: >> >> Hello all, >> >> Is there any reason I cannot add routes to the camel context after it has >> been started? > Hi > > We havent really supported/build that into Camel yet. Its something we > will address in Camel 2.x. > You could check out what we have in the API now and try to see how far you > get. > > And I recall this has been discussed before, so there might be some > old topics you could try to search. > > We want fully dynamic add/pause/stop/remove/breakpoint whatever of > camel routes/endpoints etc. > What are you requirements?
BTW I think you can add new routes after the context has been added. e.g. CamelContext context = ...; context.addRoutes(new MyRouteBuilder()); Its just we can't individually them right now other than closing the entire CamelContext. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/
