public class DefaultDebugger extends org.apache.camel.support.service.ServiceSupport implements org.apache.camel.spi.Debugger, org.apache.camel.CamelContextAware
Debugger
.Constructor and Description |
---|
DefaultDebugger() |
DefaultDebugger(org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
void |
activateAllBreakpoints() |
void |
addBreakpoint(org.apache.camel.spi.Breakpoint breakpoint) |
void |
addBreakpoint(org.apache.camel.spi.Breakpoint breakpoint,
org.apache.camel.spi.Condition... conditions) |
void |
addSingleStepBreakpoint(org.apache.camel.spi.Breakpoint breakpoint) |
void |
addSingleStepBreakpoint(org.apache.camel.spi.Breakpoint breakpoint,
org.apache.camel.spi.Condition... conditions) |
boolean |
afterProcess(org.apache.camel.Exchange exchange,
org.apache.camel.Processor processor,
org.apache.camel.NamedNode definition,
long timeTaken) |
boolean |
beforeProcess(org.apache.camel.Exchange exchange,
org.apache.camel.Processor processor,
org.apache.camel.NamedNode definition) |
protected void |
doStart() |
protected void |
doStop() |
List<org.apache.camel.spi.Breakpoint> |
getBreakpoints() |
org.apache.camel.CamelContext |
getCamelContext() |
protected void |
onAfterProcess(org.apache.camel.Exchange exchange,
org.apache.camel.Processor processor,
org.apache.camel.NamedNode definition,
long timeTaken,
org.apache.camel.spi.Breakpoint breakpoint) |
protected void |
onBeforeProcess(org.apache.camel.Exchange exchange,
org.apache.camel.Processor processor,
org.apache.camel.NamedNode definition,
org.apache.camel.spi.Breakpoint breakpoint) |
boolean |
onEvent(org.apache.camel.Exchange exchange,
org.apache.camel.spi.CamelEvent.ExchangeEvent event) |
protected void |
onEvent(org.apache.camel.Exchange exchange,
org.apache.camel.spi.CamelEvent.ExchangeEvent event,
org.apache.camel.spi.Breakpoint breakpoint) |
void |
removeBreakpoint(org.apache.camel.spi.Breakpoint breakpoint) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
start() |
boolean |
startSingleStepExchange(String exchangeId,
org.apache.camel.spi.Breakpoint breakpoint) |
void |
stopSingleStepExchange(String exchangeId) |
void |
suspendAllBreakpoints() |
String |
toString() |
doInit, doResume, doShutdown, doSuspend, getStatus, init, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, stop, suspend
public DefaultDebugger()
public DefaultDebugger(org.apache.camel.CamelContext camelContext)
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public void addBreakpoint(org.apache.camel.spi.Breakpoint breakpoint)
addBreakpoint
in interface org.apache.camel.spi.Debugger
public void addBreakpoint(org.apache.camel.spi.Breakpoint breakpoint, org.apache.camel.spi.Condition... conditions)
addBreakpoint
in interface org.apache.camel.spi.Debugger
public void addSingleStepBreakpoint(org.apache.camel.spi.Breakpoint breakpoint)
addSingleStepBreakpoint
in interface org.apache.camel.spi.Debugger
public void addSingleStepBreakpoint(org.apache.camel.spi.Breakpoint breakpoint, org.apache.camel.spi.Condition... conditions)
addSingleStepBreakpoint
in interface org.apache.camel.spi.Debugger
public void removeBreakpoint(org.apache.camel.spi.Breakpoint breakpoint)
removeBreakpoint
in interface org.apache.camel.spi.Debugger
public void suspendAllBreakpoints()
suspendAllBreakpoints
in interface org.apache.camel.spi.Debugger
public void activateAllBreakpoints()
activateAllBreakpoints
in interface org.apache.camel.spi.Debugger
public List<org.apache.camel.spi.Breakpoint> getBreakpoints()
getBreakpoints
in interface org.apache.camel.spi.Debugger
public boolean startSingleStepExchange(String exchangeId, org.apache.camel.spi.Breakpoint breakpoint)
startSingleStepExchange
in interface org.apache.camel.spi.Debugger
public void stopSingleStepExchange(String exchangeId)
stopSingleStepExchange
in interface org.apache.camel.spi.Debugger
public boolean beforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition)
beforeProcess
in interface org.apache.camel.spi.Debugger
public boolean afterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken)
afterProcess
in interface org.apache.camel.spi.Debugger
public boolean onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event)
onEvent
in interface org.apache.camel.spi.Debugger
protected void onBeforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, org.apache.camel.spi.Breakpoint breakpoint)
protected void onAfterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken, org.apache.camel.spi.Breakpoint breakpoint)
protected void onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event, org.apache.camel.spi.Breakpoint breakpoint)
public void start() throws Exception
start
in interface org.apache.camel.Service
start
in class org.apache.camel.support.service.ServiceSupport
Exception
protected void doStart() throws Exception
doStart
in class org.apache.camel.support.service.ServiceSupport
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.support.service.ServiceSupport
Exception
Apache Camel