@ManagedResource(description="Managed Processor") public class ManagedProcessor extends ManagedPerformanceCounter implements org.apache.camel.api.management.ManagedInstance, org.apache.camel.api.management.mbean.ManagedProcessorMBean
TIMESTAMP_FORMAT
exchangesTotal, 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, setStatisticsEnabled
getExchangesTotal, getResetTimestamp, getStartTimestamp, increment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dumpStatsAsXml, getDeltaProcessingTime, getExchangesCompleted, getExchangesFailed, getExchangesInflight, getExternalRedeliveries, getFailuresHandled, getFirstExchangeCompletedExchangeId, getFirstExchangeCompletedTimestamp, getFirstExchangeFailureExchangeId, getFirstExchangeFailureTimestamp, getLastExchangeCompletedExchangeId, getLastExchangeCompletedTimestamp, getLastExchangeFailureExchangeId, getLastExchangeFailureTimestamp, getLastProcessingTime, getMaxProcessingTime, getMeanProcessingTime, getMinProcessingTime, getRedeliveries, getTotalProcessingTime, isStatisticsEnabled, setStatisticsEnabled
public 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 ManagedPerformanceCounter
public org.apache.camel.CamelContext getContext()
public Object getInstance()
getInstance
in interface org.apache.camel.api.management.ManagedInstance
public org.apache.camel.Processor getProcessor()
public org.apache.camel.model.ProcessorDefinition<?> getDefinition()
public String getStepId()
getStepId
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public Integer getIndex()
getIndex
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public Boolean getSupportExtendedInformation()
getSupportExtendedInformation
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public 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.ManagedProcessorMBean
public String getCamelId()
getCamelId
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public String getCamelManagementName()
getCamelManagementName
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public String getRouteId()
getRouteId
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public String getProcessorId()
getProcessorId
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
public void start() throws Exception
start
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
Exception
public void stop() throws Exception
stop
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
Exception
public String dumpProcessorAsXml() throws Exception
dumpProcessorAsXml
in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
Exception
Apache Camel