Re: Is there a way to synchronize route startup

2010-08-26 Thread Willem Jiang
Hi Charles, If your camel context isn't started, camel will not start the routeBuilder until the camel context is started. Willem Charles Moulliard wrote: Hi,d We have created a list of routes dynamically (where the from is different based on topic name) using routeBuilder and next we add th

Is there a way to synchronize route startup

2010-08-26 Thread Charles Moulliard
Hi,d We have created a list of routes dynamically (where the from is different based on topic name) using routeBuilder and next we add them to the CamelContext using CamelContext.addRoutes(routeBuilder). As we have to iterate through the list of routeBuilder to add them to the camelContext, they a