@ManagedResource(description="Managed Route") public class ManagedRoute extends ManagedPerformanceCounter implements org.apache.camel.TimerListener, org.apache.camel.api.management.mbean.ManagedRouteMBean
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.model.ModelCamelContext |
context |
protected String |
description |
protected org.apache.camel.Route |
route |
static String |
VALUE_UNKNOWN |
TIMESTAMP_FORMATexchangesTotal, resetTimestamp, startTimestamp| Constructor and Description |
|---|
ManagedRoute(org.apache.camel.model.ModelCamelContext context,
org.apache.camel.Route route) |
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, processExchange, reset, setStatisticsEnabledgetExchangesTotal, getResetTimestamp, getStartTimestamp, incrementclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabledpublic static final String VALUE_UNKNOWN
protected final org.apache.camel.Route route
protected final String description
protected final org.apache.camel.model.ModelCamelContext context
public ManagedRoute(org.apache.camel.model.ModelCamelContext context, org.apache.camel.Route route)
public void init(org.apache.camel.spi.ManagementStrategy strategy)
init in class ManagedPerformanceCounterpublic org.apache.camel.Route getRoute()
public org.apache.camel.CamelContext getContext()
public String getRouteId()
getRouteId in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getRouteGroup()
getRouteGroup in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic TabularData getRouteProperties()
getRouteProperties in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getDescription()
getDescription in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getEndpointUri()
getEndpointUri in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getState()
getState in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getUptime()
getUptime in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic long getUptimeMillis()
getUptimeMillis in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Integer getInflightExchanges()
public String getCamelId()
getCamelId in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getCamelManagementName()
getCamelManagementName in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Boolean getTracing()
getTracing in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic void setTracing(Boolean tracing)
setTracing in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Boolean getMessageHistory()
getMessageHistory in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Boolean getLogMask()
public String getRoutePolicyList()
getRoutePolicyList in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getLoad01()
getLoad01 in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getLoad05()
getLoad05 in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getLoad15()
getLoad15 in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic void onTimer()
onTimer in interface org.apache.camel.TimerListenerpublic void start() throws Exception
start in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void stop() throws Exception
stop in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void stop(long timeout) throws Exception
stop in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic boolean stop(Long timeout, Boolean abortAfterTimeout) throws Exception
stop in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void shutdown() throws Exception
shutdown in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void shutdown(long timeout) throws Exception
shutdown in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic boolean remove() throws Exception
remove in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void restart() throws Exception
restart in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void restart(long delay) throws Exception
restart in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic String dumpRouteAsXml() throws Exception
dumpRouteAsXml in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic String dumpRouteAsXml(boolean resolvePlaceholders) throws Exception
dumpRouteAsXml in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void updateRouteFromXml(String xml) throws Exception
updateRouteFromXml in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic String dumpRouteStatsAsXml(boolean fullStats, boolean includeProcessors) throws Exception
dumpRouteStatsAsXml in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic void reset(boolean includeProcessors) throws Exception
reset in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanExceptionpublic String createRouteStaticEndpointJson()
createRouteStaticEndpointJson in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String createRouteStaticEndpointJson(boolean includeDynamic)
createRouteStaticEndpointJson in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Long getOldestInflightDuration()
getOldestInflightDuration in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic String getOldestInflightExchangeId()
getOldestInflightExchangeId in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic Boolean getHasRouteController()
getHasRouteController in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanpublic org.apache.camel.api.management.mbean.RouteError getLastError()
getLastError in interface org.apache.camel.api.management.mbean.ManagedRouteMBeanApache Camel