org.apache.camel.management
Class InstrumentationProcessor

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.processor.DelegateProcessor
          extended by org.apache.camel.management.InstrumentationProcessor
All Implemented Interfaces:
Processor, Service

public class InstrumentationProcessor
extends DelegateProcessor

JMX enabled processor that uses the Counter for instrumenting processing of exchanges.


Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateProcessor
processor
 
Constructor Summary
InstrumentationProcessor()
           
InstrumentationProcessor(PerformanceCounter counter)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 void setCounter(PerformanceCounter counter)
           
 
Methods inherited from class org.apache.camel.processor.DelegateProcessor
doStart, doStop, getProcessor, proceed, processNext, setProcessor, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstrumentationProcessor

public InstrumentationProcessor(PerformanceCounter counter)

InstrumentationProcessor

public InstrumentationProcessor()
Method Detail

setCounter

public void setCounter(PerformanceCounter counter)

process

public void process(Exchange exchange)
             throws Exception
Description copied from interface: Processor
Processes the message exchange

Specified by:
process in interface Processor
Overrides:
process in class DelegateProcessor
Throws:
Exception - if an internal processing error has occurred.


Copyright © 2008 IONA Open Source Community. All Rights Reserved.