@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements org.apache.camel.api.management.ManagedInstance, org.apache.camel.api.management.mbean.ManagedProcessorMBean
TIMESTAMP_FORMATexchangesTotal, resetTimestamp, startTimestamp| Constructor and Description |
|---|
ManagedProcessor(org.apache.camel.CamelContext context,
org.apache.camel.Processor processor,
org.apache.camel.model.ProcessorDefinition<?> definition) |
| Modifier and Type | Method and 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() |
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, setStatisticsEnabledgetExchangesTotal, getResetTimestamp, getStartTimestamp, incrementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabledpublic ManagedProcessor(org.apache.camel.CamelContext context, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition)
public void init(org.apache.camel.spi.ManagementStrategy strategy)
init in class ManagedPerformanceCounterpublic org.apache.camel.CamelContext getContext()
public Object getInstance()
getInstance in interface org.apache.camel.api.management.ManagedInstancepublic org.apache.camel.Processor getProcessor()
public org.apache.camel.model.ProcessorDefinition<?> getDefinition()
public String getStepId()
getStepId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic Integer getIndex()
getIndex in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic Boolean getSupportExtendedInformation()
getSupportExtendedInformation in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic org.apache.camel.Route getRoute()
public void setRoute(org.apache.camel.Route route)
public String getState()
getState in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic String getCamelId()
getCamelId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic String getCamelManagementName()
getCamelManagementName in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic String getRouteId()
getRouteId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic String getProcessorId()
getProcessorId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanpublic void start() throws Exception
start in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanExceptionpublic void stop() throws Exception
stop in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanExceptionpublic String dumpProcessorAsXml() throws Exception
dumpProcessorAsXml in interface org.apache.camel.api.management.mbean.ManagedProcessorMBeanExceptionApache Camel