Class ManagedProcessor
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedCounter
-
- org.apache.camel.management.mbean.ManagedPerformanceCounter
-
- org.apache.camel.management.mbean.ManagedProcessor
-
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedCounterMBean
,org.apache.camel.api.management.mbean.ManagedPerformanceCounterMBean
,org.apache.camel.api.management.mbean.ManagedProcessorMBean
,PerformanceCounter
- Direct Known Subclasses:
ManagedAggregateProcessor
,ManagedBeanProcessor
,ManagedChoice
,ManagedClaimCheck
,ManagedConvertBody
,ManagedCustomLoadBalancer
,ManagedDelayer
,ManagedDynamicRouter
,ManagedEnricher
,ManagedFailoverLoadBalancer
,ManagedFilter
,ManagedIdempotentConsumer
,ManagedLog
,ManagedLoop
,ManagedMarshal
,ManagedMulticast
,ManagedPollEnricher
,ManagedProcess
,ManagedRandomLoadBalancer
,ManagedRecipientList
,ManagedRemoveHeader
,ManagedRemoveHeaders
,ManagedRemoveProperties
,ManagedRemoveProperty
,ManagedResequencer
,ManagedRollback
,ManagedRoundRobinLoadBalancer
,ManagedRoutingSlip
,ManagedSamplingThrottler
,ManagedScript
,ManagedSendDynamicProcessor
,ManagedSendProcessor
,ManagedSetBody
,ManagedSetExchangePattern
,ManagedSetHeader
,ManagedSetProperty
,ManagedStep
,ManagedStickyLoadBalancer
,ManagedStop
,ManagedThreads
,ManagedThrottler
,ManagedThroughputLogger
,ManagedThrowException
,ManagedTopicLoadBalancer
,ManagedTransformer
,ManagedUnmarshal
,ManagedValidate
,ManagedWeightedLoadBalancer
,ManagedWireTapProcessor
@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements org.apache.camel.api.management.ManagedInstance, org.apache.camel.api.management.mbean.ManagedProcessorMBean
-
-
Field Summary
-
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 ManagedProcessor(org.apache.camel.CamelContext context, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
dumpProcessorAsXml()
String
getCamelId()
String
getCamelManagementName()
org.apache.camel.CamelContext
getContext()
org.apache.camel.model.ProcessorDefinition<?>
getDefinition()
String
getId()
Integer
getIndex()
Object
getInstance()
org.apache.camel.Processor
getProcessor()
String
getProcessorId()
org.apache.camel.Route
getRoute()
String
getRouteId()
String
getState()
String
getStepId()
Boolean
getSupportExtendedInformation()
void
init(org.apache.camel.spi.ManagementStrategy strategy)
void
setRoute(org.apache.camel.Route route)
void
start()
void
stop()
-
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, 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, equals, finalize, getClass, hashCode, 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, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
-
-
-
-
Constructor Detail
-
ManagedProcessor
public ManagedProcessor(org.apache.camel.CamelContext context, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition)
-
-
Method Detail
-
init
public void init(org.apache.camel.spi.ManagementStrategy strategy)
- Overrides:
init
in classManagedPerformanceCounter
-
getContext
public org.apache.camel.CamelContext getContext()
-
getInstance
public Object getInstance()
- Specified by:
getInstance
in interfaceorg.apache.camel.api.management.ManagedInstance
-
getProcessor
public org.apache.camel.Processor getProcessor()
-
getDefinition
public org.apache.camel.model.ProcessorDefinition<?> getDefinition()
-
getStepId
public String getStepId()
- Specified by:
getStepId
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getIndex
public Integer getIndex()
- Specified by:
getIndex
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getSupportExtendedInformation
public Boolean getSupportExtendedInformation()
- Specified by:
getSupportExtendedInformation
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getRoute
public org.apache.camel.Route getRoute()
-
setRoute
public void setRoute(org.apache.camel.Route route)
-
getState
public String getState()
- Specified by:
getState
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getCamelId
public String getCamelId()
- Specified by:
getCamelId
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getCamelManagementName
public String getCamelManagementName()
- Specified by:
getCamelManagementName
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getRouteId
public String getRouteId()
- Specified by:
getRouteId
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
getProcessorId
public String getProcessorId()
- Specified by:
getProcessorId
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
-
start
public void start() throws Exception
- Specified by:
start
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
- Throws:
Exception
-
stop
public void stop() throws Exception
- Specified by:
stop
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
- Throws:
Exception
-
dumpProcessorAsXml
public String dumpProcessorAsXml() throws Exception
- Specified by:
dumpProcessorAsXml
in interfaceorg.apache.camel.api.management.mbean.ManagedProcessorMBean
- Throws:
Exception
-
-