org.apache.camel.view
Class RouteDotGenerator
java.lang.Object
org.apache.camel.view.RouteDotGenerator
public class RouteDotGenerator
- extends Object
A DOT file creator plugin which
creates a DOT file showing the current routes
- Version:
- $Revision: 523881 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RouteDotGenerator
public RouteDotGenerator()
getFile
public String getFile()
setFile
public void setFile(String file)
- Sets the destination file name to create the destination diagram
drawRoutes
public void drawRoutes(CamelContext context)
throws IOException
- Throws:
IOException
generateFile
protected void generateFile(PrintWriter writer,
CamelContext context)
printRoutes
protected void printRoutes(PrintWriter writer,
List<Route> routes)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.