protected void postProcessContext() throws Exception {
if (ObjectHelper.isNotNullAndNonEmpty(dotOutputDir)) {
RouteDotGenerator generator = new RouteDotGenerator(dotOutputDir);
CamelContext camelContext = SpringCamelContext.springCamelContext(applicationContext);
LOG.info("Generating DOT file for routes: " + dotOutputDir + " for: " + camelContext);
generator.drawRoutes(camelContext);
}
}
protected String getVersion() {
Package aPackage = Package.getPackage("org.apache.camel");