Class 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, ManagedConvertHeader, ManagedConvertVariable, ManagedCustomLoadBalancer, ManagedDelayer, ManagedDisabled, ManagedDoCatch, ManagedDoFinally, ManagedDoTry, ManagedDynamicRouter, ManagedEnricher, ManagedFailoverLoadBalancer, ManagedFilter, ManagedIdempotentConsumer, ManagedLog, ManagedLoop, ManagedMarshal, ManagedMulticast, ManagedPollEnricher, ManagedProcess, ManagedRandomLoadBalancer, ManagedRecipientList, ManagedRemoveHeader, ManagedRemoveHeaders, ManagedRemoveProperties, ManagedRemoveProperty, ManagedRemoveVariable, ManagedResequencer, ManagedRollback, ManagedRoundRobinLoadBalancer, ManagedRoutingSlip, ManagedSamplingThrottler, ManagedScript, ManagedSendDynamicProcessor, ManagedSendProcessor, ManagedSetBody, ManagedSetExchangePattern, ManagedSetHeader, ManagedSetProperty, ManagedSetVariable, 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
  • Constructor Details

    • ManagedProcessor

      public ManagedProcessor(org.apache.camel.CamelContext context, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition)
  • Method Details

    • init

      public void init(org.apache.camel.spi.ManagementStrategy strategy)
      Overrides:
      init in class ManagedPerformanceCounter
    • getContext

      public org.apache.camel.CamelContext getContext()
    • getInstance

      public Object getInstance()
      Specified by:
      getInstance in interface org.apache.camel.api.management.ManagedInstance
    • getProcessor

      public org.apache.camel.Processor getProcessor()
    • getDefinition

      public org.apache.camel.model.ProcessorDefinition<?> getDefinition()
    • getId

      public String getId()
    • getStepId

      public String getStepId()
      Specified by:
      getStepId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getIndex

      public Integer getIndex()
      Specified by:
      getIndex in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getSourceLocation

      Specified by:
      getSourceLocation in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getSourceLineNumber

      Specified by:
      getSourceLineNumber in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getSupportExtendedInformation

      Specified by:
      getSupportExtendedInformation in interface org.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 interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getCamelId

      public String getCamelId()
      Specified by:
      getCamelId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getCamelManagementName

      Specified by:
      getCamelManagementName in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getRouteId

      public String getRouteId()
      Specified by:
      getRouteId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getNodePrefixId

      Specified by:
      getNodePrefixId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getProcessorId

      Specified by:
      getProcessorId in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • getProcessorName

      Specified by:
      getProcessorName in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
    • start

      public void start() throws Exception
      Specified by:
      start in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Specified by:
      stop in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
      Throws:
      Exception
    • dumpProcessorAsXml

      Specified by:
      dumpProcessorAsXml in interface org.apache.camel.api.management.mbean.ManagedProcessorMBean
      Throws:
      Exception