org.apache.camel.management
Class InstrumentationErrorHandlerWrappingStrategy
java.lang.Object
org.apache.camel.management.InstrumentationErrorHandlerWrappingStrategy
- All Implemented Interfaces:
- ErrorHandlerWrappingStrategy
public class InstrumentationErrorHandlerWrappingStrategy
- extends Object
- implements ErrorHandlerWrappingStrategy
- Version:
- $Revision: 792 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrumentationErrorHandlerWrappingStrategy
public InstrumentationErrorHandlerWrappingStrategy(Map<ProcessorType,PerformanceCounter> counterMap)
wrapProcessorInErrorHandler
public Processor wrapProcessorInErrorHandler(RouteContext routeContext,
ProcessorType processorType,
Processor target)
throws Exception
- Description copied from interface:
ErrorHandlerWrappingStrategy
- This method is invoked by
ProcessorType.wrapProcessor(RouteContext, Processor)
to give the implementor an opportunity to wrap the target processor
in a route.
- Specified by:
wrapProcessorInErrorHandler
in interface ErrorHandlerWrappingStrategy
- Parameters:
routeContext
- the route contextprocessorType
- the object that invokes this methodtarget
- the processor to be wrapped
- Returns:
- processor wrapped with an interceptor or not wrapped
- Throws:
Exception
- can be thrown
Copyright © 2009 IONA Open Source Community. All Rights Reserved.