if (size > 1) {
outputDir += "/" + name;
}
RouteDotGenerator generator = new RouteDotGenerator(outputDir);
LOG.info("Generating DOT file for routes: " + outputDir + " for: " + camelContext + " with name: " + name);
generator.drawRoutes((ModelCamelContext)camelContext);
}
}
/**
* Used for aggregate dot generation, generate a single camel context containing all of the available contexts