org.apache.camel.management.mbean
Class ManagedRoute
java.lang.Object
org.apache.camel.management.mbean.ManagedCounter
org.apache.camel.management.mbean.ManagedPerformanceCounter
org.apache.camel.management.mbean.ManagedRoute
- All Implemented Interfaces:
- PerformanceCounter
@ManagedResource(description="Managed Route")
public class ManagedRoute
- extends ManagedPerformanceCounter
| Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter |
completedExchange, failedExchange, getExchangesCompleted, getExchangesFailed, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureTimestamp, getLastExchangeCompletedTimestamp, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getTotalProcessingTime, init, isStatisticsEnabled, reset, setStatisticsEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALUE_UNKNOWN
public static final String VALUE_UNKNOWN
- See Also:
- Constant Field Values
ManagedRoute
public ManagedRoute(CamelContext context,
Route route)
getRoute
public Route getRoute()
getContext
public CamelContext getContext()
getRouteId
@ManagedAttribute(description="Route id")
public String getRouteId()
getDescription
@ManagedAttribute(description="Route Description")
public String getDescription()
getEndpointUri
@ManagedAttribute(description="Route Endpoint Uri")
public String getEndpointUri()
getState
@ManagedAttribute(description="Route State")
public String getState()
getInflightExchanges
@ManagedAttribute(description="Current number of inflight Exchanges")
public Integer getInflightExchanges()
getCamelId
@ManagedAttribute(description="Camel id")
public String getCamelId()
getTracing
@ManagedAttribute(description="Tracing")
public Boolean getTracing()
setTracing
@ManagedAttribute(description="Tracing")
public void setTracing(Boolean tracing)
getRoutePolicy
@ManagedAttribute(description="Route Policy")
public String getRoutePolicy()
start
@ManagedOperation(description="Start Route")
public void start()
throws Exception
- Throws:
Exception
stop
@ManagedOperation(description="Stop Route")
public void stop()
throws Exception
- Throws:
Exception
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.