camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manchandap <>
Subject Re: Adding Routes to a running Camel Context
Date Thu, 06 Feb 2014 11:29:16 GMT
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);

# 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

Prince Manchanda

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message