org.apache.camel.management
Class InstrumentationProcessor
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.DelegateProcessor
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.
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
InstrumentationProcessor
public InstrumentationProcessor(PerformanceCounter counter)
InstrumentationProcessor
public InstrumentationProcessor()
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.