|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.processor.interceptor.Debugger
public class Debugger
An interceptor strategy for debugging and tracing routes
| Constructor Summary | |
|---|---|
Debugger()
|
|
| Method Summary | |
|---|---|
protected List<ExceptionEvent> |
createExceptionsList()
|
protected List<Exchange> |
createExchangeList()
|
Breakpoint |
getBreakpoint(String id)
Returns the breakpoint object for the given node in the DSL |
static Debugger |
getDebugger(CamelContext context)
A helper method to return the debugger instance for a given CamelContext if one is enabled |
List<Exchange> |
getExchanges(String id)
Returns the list of exchanges sent to the given node in the DSL |
DebugInterceptor |
getInterceptor(String id)
|
Processor |
wrapProcessorInInterceptors(ProcessorType processorType,
Processor target)
This method is invoked by {@link ProcessorType#wrapProcessor(RouteContext, Processor) to give the implementor an opportunity to wrap the target processor in a route. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Debugger()
| Method Detail |
|---|
public static Debugger getDebugger(CamelContext context)
CamelContext if one is enabled
context - the camel context the debugger is connected to
public DebugInterceptor getInterceptor(String id)
public List<Exchange> getExchanges(String id)
public Breakpoint getBreakpoint(String id)
public Processor wrapProcessorInInterceptors(ProcessorType processorType,
Processor target)
throws Exception
InterceptStrategy
wrapProcessorInInterceptors in interface InterceptStrategyprocessorType - the object that invokes this methodtarget - the processor to be wrapped
Exceptionprotected List<Exchange> createExchangeList()
protected List<ExceptionEvent> createExceptionsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||