public static final class CamelInternalProcessor.BacklogDebuggerAdvice extends Object implements CamelInternalProcessorAdvice<StopWatch>, Ordered
BacklogDebugger if enabled.| Constructor and Description |
|---|
CamelInternalProcessor.BacklogDebuggerAdvice(BacklogDebugger backlogDebugger,
Processor target,
ProcessorDefinition<?> definition) |
public CamelInternalProcessor.BacklogDebuggerAdvice(BacklogDebugger backlogDebugger, Processor target, ProcessorDefinition<?> definition)
public StopWatch before(Exchange exchange) throws Exception
CamelInternalProcessorAdvicebefore in interface CamelInternalProcessorAdvice<StopWatch>exchange - the current exchangeCamelInternalProcessorAdvice.after(org.apache.camel.Exchange, Object) method, or use null for no state.Exception - is thrown if error during the call.public void after(Exchange exchange, StopWatch stopWatch) throws Exception
CamelInternalProcessorAdviceafter in interface CamelInternalProcessorAdvice<StopWatch>exchange - the current exchangestopWatch - the state, if any, returned in the CamelInternalProcessorAdvice.before(org.apache.camel.Exchange) method.Exception - is thrown if error during the call.public int getOrder()
OrderedInteger.MAX_VALUE or eg Ordered.LOWEST.Apache Camel