Class ManagedSuspendableRoute
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedCounter
-
- org.apache.camel.management.mbean.ManagedPerformanceCounter
-
- org.apache.camel.management.mbean.ManagedRoute
-
- org.apache.camel.management.mbean.ManagedSuspendableRoute
-
- All Implemented Interfaces:
org.apache.camel.api.management.mbean.ManagedCounterMBean
,org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
,org.apache.camel.api.management.mbean.ManagedRouteMBean
,org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
,PerformanceCounter
,org.apache.camel.TimerListener
@ManagedResource(description="Managed Suspendable Route") public class ManagedSuspendableRoute extends ManagedRoute implements org.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
-
-
Field Summary
-
Fields inherited from class org.apache.camel.management.mbean.ManagedRoute
configurationId, context, description, route, sourceLocation, sourceLocationShort, VALUE_UNKNOWN
-
Fields inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
TIMESTAMP_FORMAT
-
Fields inherited from class org.apache.camel.management.mbean.ManagedCounter
exchangesTotal, resetTimestamp, startTimestamp
-
-
Constructor Summary
Constructors Constructor Description ManagedSuspendableRoute(org.apache.camel.CamelContext context, org.apache.camel.Route route)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resume()
void
suspend()
void
suspend(long timeout)
-
Methods inherited from class org.apache.camel.management.mbean.ManagedRoute
dumpRouteAsXml, dumpRouteAsXml, dumpRouteAsXml, dumpRouteSourceLocationsAsXml, dumpRouteStatsAsXml, dumpStepStatsAsXml, equals, getCamelId, getCamelManagementName, getContext, getDescription, getEndpointUri, getHasRouteController, getLastError, getLoad01, getLoad05, getLoad15, getLogMask, getMessageHistory, getOldestInflightDuration, getOldestInflightExchangeId, getRoute, getRouteConfigurationId, getRouteGroup, getRouteId, getRoutePolicyList, getRouteProperties, getSourceLocation, getSourceLocationShort, getState, getThroughput, getTracing, getUptime, getUptimeMillis, hashCode, init, onTimer, processorIds, remove, reset, restart, restart, setTracing, shutdown, shutdown, start, stop, stop, stop, stopAndFail
-
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter
completedExchange, dumpStatsAsXml, failedExchange, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, processExchange, reset, setStatisticsEnabled
-
Methods inherited from class org.apache.camel.management.mbean.ManagedCounter
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, getResetTimestamp, getStartTimestamp, reset
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
-
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedRouteMBean
dumpRouteAsXml, dumpRouteAsXml, dumpRouteAsXml, dumpRouteSourceLocationsAsXml, dumpRouteStatsAsXml, dumpStepStatsAsXml, getCamelId, getCamelManagementName, getDescription, getEndpointUri, getHasRouteController, getLastError, getLoad01, getLoad05, getLoad15, getLogMask, getMessageHistory, getOldestInflightDuration, getOldestInflightExchangeId, getRouteConfigurationId, getRouteGroup, getRouteId, getRoutePolicyList, getRouteProperties, getSourceLocation, getSourceLocationShort, getState, getThroughput, getTracing, getUptime, getUptimeMillis, processorIds, remove, reset, restart, restart, setTracing, start, stop, stop, stop, stopAndFail
-
-
-
-
Constructor Detail
-
ManagedSuspendableRoute
public ManagedSuspendableRoute(org.apache.camel.CamelContext context, org.apache.camel.Route route)
-
-
Method Detail
-
suspend
public void suspend() throws Exception
- Specified by:
suspend
in interfaceorg.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
- Throws:
Exception
-
suspend
public void suspend(long timeout) throws Exception
- Specified by:
suspend
in interfaceorg.apache.camel.api.management.mbean.ManagedSuspendableRouteMBean
- Throws:
Exception
-
-