org.apache.camel.management
Class ManagedRoute

java.lang.Object
  extended by org.apache.camel.management.Counter
      extended by org.apache.camel.management.PerformanceCounter
          extended by org.apache.camel.management.ManagedRoute

@ManagedResource(description="Managed Route",
                 currencyTimeLimit=15)
public class ManagedRoute
extends PerformanceCounter


Field Summary
static String VALUE_UNKNOWN
           
 
Fields inherited from class org.apache.camel.management.Counter
numExchanges
 
Method Summary
 String getDescription()
           
 String getEndpointUri()
           
 Route getRoute()
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.camel.management.PerformanceCounter
completedExchange, failedExchange, getFirstExchangeCompletionTime, getFirstExchangeFailureTime, getLastExchangeCompletionTime, getLastExchangeFailureTime, getMaxProcessingTimeMillis, getMeanProcessingTimeMillis, getMinProcessingTimeMillis, getNumCompleted, getNumFailed, getTotalProcessingTimeMillis, reset
 
Methods inherited from class org.apache.camel.management.Counter
getNumExchanges, increment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_UNKNOWN

public static final String VALUE_UNKNOWN
See Also:
Constant Field Values
Method Detail

getRoute

public Route getRoute()

getEndpointUri

@ManagedAttribute(description="Route Endpoint Uri")
public String getEndpointUri()

getDescription

@ManagedAttribute(description="Route description")
public String getDescription()

start

@ManagedOperation(description="Start Route")
public void start()
           throws IOException
Throws:
IOException

stop

@ManagedOperation(description="Stop Route")
public void stop()
          throws IOException
Throws:
IOException


Apache CAMEL