</BUG>
if (log.isDebugEnabled()) {
log.debug("Initializing Camel route resources...");
}
stats.setFound(routeBuilders.size());
<BUG>for (Class<RouteBuilder> clazz : routeBuilders) {
</BUG>
if (log.isDebugEnabled()) {
log.debug("Creating Camel route builder: " + clazz.getName());
}

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...");
}
stats.setFound(routeBuilders.size());
for (Class<? extends RouteBuilder> clazz : routeBuilders) {
if (log.isDebugEnabled()) {
log.debug("Creating Camel route builder: " + clazz.getName());
}
