@ManagedResource(description="Managed Suspendable Route") public class ManagedSuspendableRoute extends ManagedRoute implements ManagedSuspendableRouteMBean
context, description, route, VALUE_UNKNOWN
TIMESTAMP_FORMAT
exchangesTotal, resetTimestamp
Constructor and Description |
---|
ManagedSuspendableRoute(ModelCamelContext context,
Route route) |
Modifier and Type | Method and Description |
---|---|
void |
resume() |
void |
suspend() |
void |
suspend(long timeout) |
createRouteStaticEndpointJson, createRouteStaticEndpointJson, dumpRouteAsXml, dumpRouteStatsAsXml, equals, getCamelId, getCamelManagementName, getContext, getDescription, getEndpointUri, getInflightExchanges, getLoad01, getLoad05, getLoad15, getMessageHistory, getRoute, getRouteId, getRoutePolicyList, getState, getTracing, hashCode, onTimer, remove, reset, setTracing, shutdown, shutdown, start, stop, stop, stop, updateRouteFromXml
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, init, isStatisticsEnabled, reset, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, increment
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
createRouteStaticEndpointJson, createRouteStaticEndpointJson, dumpRouteAsXml, dumpRouteStatsAsXml, getCamelId, getCamelManagementName, getDescription, getEndpointUri, getInflightExchanges, getLoad01, getLoad05, getLoad15, getMessageHistory, getRouteId, getRoutePolicyList, getState, getTracing, remove, reset, setTracing, shutdown, shutdown, start, stop, stop, stop, updateRouteFromXml
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, reset
public ManagedSuspendableRoute(ModelCamelContext context, Route route)
public void suspend() throws Exception
suspend
in interface ManagedSuspendableRouteMBean
Exception
public void suspend(long timeout) throws Exception
suspend
in interface ManagedSuspendableRouteMBean
Exception
public void resume() throws Exception
resume
in interface ManagedSuspendableRouteMBean
Exception
Apache Camel