camelContext = new DefaultCamelContext();
}
context.getProperties().put(CAMEL_CONTEXT, camelContext);
}
private void loadRoutesFromClasses() {
<BUG>@SuppressWarnings("unchecked")
final Set<Class<RouteBuilder>> routeBuilders = (Set<Class<RouteBuilder>>) DeploymentScanner.getContextInstance(context).lookupSubtypes(RouteBuilder.class);
</BUG>
if (log.isDebugEnabled()) {
log.debug("Initializing Camel route resources...");

camelContext = new DefaultCamelContext();
}
context.getProperties().put(CAMEL_CONTEXT, camelContext);
}
private void loadRoutesFromClasses() {
final Set<Class<? extends RouteBuilder>> routeBuilders = DeploymentScanner.getContextInstance(context).lookupSubtypes(RouteBuilder.class);
if (log.isDebugEnabled()) {
log.debug("Initializing Camel route resources...");
