@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements ManagedInstance, ManagedProcessorMBean
TIMESTAMP_FORMAT
exchangesTotal, resetTimestamp
Constructor and Description |
---|
ManagedProcessor(CamelContext context,
Processor processor,
ProcessorDefinition<?> definition) |
Modifier and Type | Method and Description |
---|---|
String |
getCamelId() |
String |
getCamelManagementName() |
CamelContext |
getContext() |
ProcessorDefinition<?> |
getDefinition() |
String |
getId() |
Integer |
getIndex() |
Object |
getInstance()
Gets the resource which is being managed.
|
Processor |
getProcessor() |
String |
getProcessorId() |
Route |
getRoute() |
String |
getRouteId() |
String |
getState() |
void |
setRoute(Route route) |
void |
start() |
void |
stop() |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 ManagedProcessor(CamelContext context, Processor processor, ProcessorDefinition<?> definition)
public CamelContext getContext()
public Processor getProcessor()
public ProcessorDefinition<?> getDefinition()
public Integer getIndex()
getIndex
in interface ManagedProcessorMBean
public String getState()
getState
in interface ManagedProcessorMBean
public String getCamelId()
getCamelId
in interface ManagedProcessorMBean
public String getCamelManagementName()
getCamelManagementName
in interface ManagedProcessorMBean
public String getRouteId()
getRouteId
in interface ManagedProcessorMBean
public String getProcessorId()
getProcessorId
in interface ManagedProcessorMBean
public void start() throws Exception
start
in interface ManagedProcessorMBean
Exception
public void stop() throws Exception
stop
in interface ManagedProcessorMBean
Exception
public Object getInstance()
ManagedInstance
getInstance
in interface ManagedInstance
Processor
, Consumer
etc.Apache Camel