org.apache.camel.view
Class RouteDotGenerator

java.lang.Object
  extended by 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 $

Constructor Summary
RouteDotGenerator()
           
 
Method Summary
 void drawRoutes(CamelContext context)
           
protected  void generateFile(PrintWriter writer, CamelContext context)
           
 String getFile()
           
protected  void printRoutes(PrintWriter writer, List<Route> routes)
           
 void setFile(String file)
          Sets the destination file name to create the destination diagram
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteDotGenerator

public RouteDotGenerator()
Method Detail

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.