org.apache.camel.management.mbean
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:
- ManagedInstance, ManagedCounterMBean, ManagedPerformanceCounterMBean, ManagedProcessorMBean, PerformanceCounter
- Direct Known Subclasses:
- ManagedBeanProcessor, ManagedDelayer, ManagedIdempotentConsumer, ManagedSendProcessor, ManagedThrottler, ManagedThroughputLogger
@ManagedResource(description="Managed Processor")
public class ManagedProcessor
- extends ManagedPerformanceCounter
- implements ManagedInstance, ManagedProcessorMBean
- Version:
Methods inherited from class org.apache.camel.management.mbean.ManagedPerformanceCounter |
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 |
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.ManagedPerformanceCounterMBean |
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled |
ManagedProcessor
public ManagedProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition)
getContext
public CamelContext getContext()
getProcessor
public Processor getProcessor()
getDefinition
public ProcessorDefinition<?> getDefinition()
getId
public String getId()
getIndex
public Integer getIndex()
- Specified by:
getIndex
in interface ManagedProcessorMBean
getRoute
public Route getRoute()
setRoute
public void setRoute(Route route)
getState
public String getState()
- Specified by:
getState
in interface ManagedProcessorMBean
getCamelId
public String getCamelId()
- Specified by:
getCamelId
in interface ManagedProcessorMBean
getCamelManagementName
public String getCamelManagementName()
- Specified by:
getCamelManagementName
in interface ManagedProcessorMBean
getRouteId
public String getRouteId()
- Specified by:
getRouteId
in interface ManagedProcessorMBean
getProcessorId
public String getProcessorId()
- Specified by:
getProcessorId
in interface ManagedProcessorMBean
start
public void start()
throws Exception
- Specified by:
start
in interface ManagedProcessorMBean
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface ManagedProcessorMBean
- Throws:
Exception
getInstance
public Object getInstance()
- Description copied from interface:
ManagedInstance
- Gets the resource which is being managed.
- Specified by:
getInstance
in interface ManagedInstance
- Returns:
- the resource, such as a
Processor
, Consumer
etc.
Apache Camel