Interface ManagedRouteMBean
- All Superinterfaces:
ManagedCounterMBean
,ManagedPerformanceCounterMBean
- All Known Subinterfaces:
ManagedSuspendableRouteMBean
-
Method Summary
Modifier and TypeMethodDescriptiondumpRouteAsXml
(boolean resolvePlaceholders) dumpRouteAsXml
(boolean resolvePlaceholders, boolean generatedIds) dumpRouteAsYaml
(boolean resolvePlaceholders) dumpRouteAsYaml
(boolean resolvePlaceholders, boolean uriAsParameters) dumpRouteAsYaml
(boolean resolvePlaceholders, boolean uriAsParameters, boolean generatedIds) dumpRouteStatsAsXml
(boolean fullStats, boolean includeProcessors) dumpStepStatsAsXml
(boolean fullStats) getState()
long
boolean
boolean
boolean
boolean
boolean
remove()
void
reset
(boolean includeProcessors) void
restart()
void
restart
(long delay) void
setTracing
(Boolean tracing) void
start()
void
stop()
void
stop
(long timeout) boolean
void
void
updateRouteFromXml
(String xml) 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, getIdleSince, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeCreatedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
-
Method Details
-
getRouteId
-
getNodePrefixId
-
getRouteGroup
-
isCreatedByRouteTemplate
@ManagedAttribute(description="Is this route created from a route template (or Kamelet)") boolean isCreatedByRouteTemplate() -
isCreatedByKamelet
-
getRouteProperties
-
getDescription
-
getSourceLocation
-
getSourceLocationShort
-
getRouteConfigurationId
-
getEndpointUri
-
getState
-
getUptime
-
getUptimeMillis
-
getCamelId
-
getCamelManagementName
-
getTracing
-
setTracing
-
getMessageHistory
-
getLogMask
-
getRoutePolicyList
-
getLoad01
@ManagedAttribute(description="Average load (inflight messages, not cpu) over the last minute") String getLoad01() -
getLoad05
@ManagedAttribute(description="Average load (inflight messages, not cpu) over the last five minutes") String getLoad05() -
getLoad15
@ManagedAttribute(description="Average load (inflight messages, not cpu) over the last fifteen minutes") String getLoad15() -
getThroughput
-
start
- Throws:
Exception
-
stop
- Throws:
Exception
-
stopAndFail
@ManagedOperation(description="Stop and marks the route as failed (health-check reporting as DOWN)") void stopAndFail() throws Exception- Throws:
Exception
-
stop
@ManagedOperation(description="Stop route (using timeout in seconds)") void stop(long timeout) throws Exception - Throws:
Exception
-
stop
@ManagedOperation(description="Stop route, abort stop after timeout (in seconds)") boolean stop(Long timeout, Boolean abortAfterTimeout) throws Exception - Throws:
Exception
-
remove
- Throws:
Exception
-
restart
@ManagedOperation(description="Restarts route (1 second delay before starting)") void restart() throws Exception- Throws:
Exception
-
restart
@ManagedOperation(description="Restarts route (using delay in seconds before starting)") void restart(long delay) throws Exception - Throws:
Exception
-
dumpRouteAsXml
- Throws:
Exception
-
dumpRouteAsXml
@ManagedOperation(description="Dumps the route as XML") String dumpRouteAsXml(boolean resolvePlaceholders) throws Exception - Throws:
Exception
-
dumpRouteAsXml
@ManagedOperation(description="Dumps the route as XML") String dumpRouteAsXml(boolean resolvePlaceholders, boolean generatedIds) throws Exception - Throws:
Exception
-
dumpRouteAsYaml
- Throws:
Exception
-
dumpRouteAsYaml
@ManagedOperation(description="Dumps the route as YAML") String dumpRouteAsYaml(boolean resolvePlaceholders) throws Exception - Throws:
Exception
-
dumpRouteAsYaml
@ManagedOperation(description="Dumps the route as YAML") String dumpRouteAsYaml(boolean resolvePlaceholders, boolean uriAsParameters) throws Exception - Throws:
Exception
-
dumpRouteAsYaml
@ManagedOperation(description="Dumps the route as YAML") String dumpRouteAsYaml(boolean resolvePlaceholders, boolean uriAsParameters, boolean generatedIds) throws Exception - Throws:
Exception
-
dumpRouteStatsAsXml
@ManagedOperation(description="Dumps the route stats as XML") String dumpRouteStatsAsXml(boolean fullStats, boolean includeProcessors) throws Exception - Throws:
Exception
-
dumpStepStatsAsXml
@ManagedOperation(description="Dumps the route and steps stats as XML") String dumpStepStatsAsXml(boolean fullStats) throws Exception - Throws:
Exception
-
dumpRouteSourceLocationsAsXml
@ManagedOperation(description="Dumps the route with mappings between node ids and their source location/line-number (currently only XML and YAML routes supported) as XML") String dumpRouteSourceLocationsAsXml() throws Exception- Throws:
Exception
-
reset
@ManagedOperation(description="Reset counters") void reset(boolean includeProcessors) throws Exception - Throws:
Exception
-
getOldestInflightDuration
-
getOldestInflightExchangeId
-
getHasRouteController
-
getLastError
-
processorIds
@ManagedOperation(description="IDs for the processors that are part of this route") Collection<String> processorIds() throws Exception- Throws:
Exception
-
updateRouteFromXml
@ManagedOperation(description="Updates the route from XML") void updateRouteFromXml(String xml) throws Exception - Throws:
Exception
-
isUpdateRouteEnabled
@ManagedAttribute(description="Whether update route from XML is enabled") boolean isUpdateRouteEnabled() -
isRemoteEndpoint
@ManagedAttribute(description="Whether the consumer connects to remote or local systems") boolean isRemoteEndpoint()
-