Thanks Claus for the quick reply.

I had checked this link. My queries:

# Where should the following code be placed that is in the main class (that
runs the camel context) or some processor.

/// load route from XML and add them to the existing camel context
InputStream is = getClass().getResourceAsStream("barRoute.xml");
RoutesDefinition routes = context.loadRoutesDefinition(is);
context.addRouteDefinitions(routes.getRoutes());/

# Would this require restart the camel that is the camel context
# Can i achieve similar flexibility if I am using Java DSL to define my
routes

Thanks 
Prince Manchanda



--
View this message in context: 
http://camel.465427.n5.nabble.com/Adding-Routes-to-a-running-Camel-Context-tp5746884p5746887.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to