|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Debugger
A debugger which allows tooling to attach breakpoints which is is being invoked
when Exchanges is being routed.
| Method Summary | |
|---|---|
void |
activateAllBreakpoints()
Activate all breakpoints. |
void |
addBreakpoint(Breakpoint breakpoint)
Add the given breakpoint |
void |
addBreakpoint(Breakpoint breakpoint,
Condition... conditions)
Add the given breakpoint |
void |
addSingleStepBreakpoint(Breakpoint breakpoint)
Add the given breakpoint which will be used in single step mode The debugger will single step the first message arriving. |
void |
addSingleStepBreakpoint(Breakpoint breakpoint,
Condition... conditions)
Add the given breakpoint which will be used in single step mode The debugger will single step the first message arriving. |
boolean |
afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition definition,
long timeTaken)
Callback invoked when an Exchange has been processed which allows implementators
to notify breakpoints. |
boolean |
beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition definition)
Callback invoked when an Exchange is about to be processed which allows implementators
to notify breakpoints. |
List<Breakpoint> |
getBreakpoints()
Gets a list of all the breakpoints |
boolean |
onEvent(Exchange exchange,
EventObject event)
Callback invoked when an Exchange is being processed which allows implementators
to notify breakpoints. |
void |
removeBreakpoint(Breakpoint breakpoint)
Removes the given breakpoint |
boolean |
startSingleStepExchange(String exchangeId,
Breakpoint breakpoint)
Starts the single step debug mode for the given exchange |
void |
stopSingleStepExchange(String exchangeId)
Stops the single step debug mode for the given exchange. |
void |
suspendAllBreakpoints()
Suspends all breakpoints. |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Methods inherited from interface org.apache.camel.CamelContextAware |
|---|
getCamelContext, setCamelContext |
| Method Detail |
|---|
void addBreakpoint(Breakpoint breakpoint)
breakpoint - the breakpoint
void addBreakpoint(Breakpoint breakpoint,
Condition... conditions)
breakpoint - the breakpointconditions - a number of Conditionsvoid addSingleStepBreakpoint(Breakpoint breakpoint)
breakpoint - the breakpoint
void addSingleStepBreakpoint(Breakpoint breakpoint,
Condition... conditions)
breakpoint - the breakpointconditions - a number of Conditionsvoid removeBreakpoint(Breakpoint breakpoint)
breakpoint - the breakpointvoid suspendAllBreakpoints()
void activateAllBreakpoints()
List<Breakpoint> getBreakpoints()
boolean startSingleStepExchange(String exchangeId,
Breakpoint breakpoint)
exchangeId - the exchange idbreakpoint - the breakpoint
void stopSingleStepExchange(String exchangeId)
exchangeId - the exchange id
boolean beforeProcess(Exchange exchange,
Processor processor,
ProcessorDefinition definition)
Exchange is about to be processed which allows implementators
to notify breakpoints.
exchange - the exchangeprocessor - the Processor about to be processeddefinition - the definition of the processor
boolean afterProcess(Exchange exchange,
Processor processor,
ProcessorDefinition definition,
long timeTaken)
Exchange has been processed which allows implementators
to notify breakpoints.
exchange - the exchangeprocessor - the Processor which was processeddefinition - the definition of the processortimeTaken - time in millis it took to process the Exchange - time spend in breakpoint callbacks may affect this time
boolean onEvent(Exchange exchange,
EventObject event)
Exchange is being processed which allows implementators
to notify breakpoints.
exchange - the exchangeevent - the event (instance of AbstractExchangeEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||