Class DebugBreakpoint

java.lang.Object
org.apache.camel.support.BreakpointSupport
org.apache.camel.test.junit5.DebugBreakpoint
All Implemented Interfaces:
org.apache.camel.spi.Breakpoint

public abstract class DebugBreakpoint extends org.apache.camel.support.BreakpointSupport
To easily debug by overriding the debugBefore and debugAfter methods.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.camel.spi.Breakpoint

    org.apache.camel.spi.Breakpoint.State
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken)
     
    void
    beforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition)
     
    protected abstract void
    debugAfter(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label, long timeTaken)
    Single step debugs and Camel invokes this method after processing the given processor
    protected abstract void
    debugBefore(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label)
    Single step debugs and Camel invokes this method before entering the given processor

    Methods inherited from class org.apache.camel.support.BreakpointSupport

    activate, getState, onEvent, suspend

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DebugBreakpoint

      public DebugBreakpoint()
  • Method Details

    • beforeProcess

      public void beforeProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition)
      Specified by:
      beforeProcess in interface org.apache.camel.spi.Breakpoint
      Overrides:
      beforeProcess in class org.apache.camel.support.BreakpointSupport
    • afterProcess

      public void afterProcess(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.NamedNode definition, long timeTaken)
      Specified by:
      afterProcess in interface org.apache.camel.spi.Breakpoint
      Overrides:
      afterProcess in class org.apache.camel.support.BreakpointSupport
    • debugBefore

      protected abstract void debugBefore(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label)
      Single step debugs and Camel invokes this method before entering the given processor
      Parameters:
      exchange - the Exchange
      processor - the Processor which was processed
      definition - the ProcessorDefinition definition of the processor
      id - the definition ID
      label - the definition label
    • debugAfter

      protected abstract void debugAfter(org.apache.camel.Exchange exchange, org.apache.camel.Processor processor, org.apache.camel.model.ProcessorDefinition<?> definition, String id, String label, long timeTaken)
      Single step debugs and Camel invokes this method after processing the given processor
      Parameters:
      exchange - the Exchange
      processor - the Processor which was processed
      definition - the ProcessorDefinition definition of the processor
      id - the definition ID
      label - the definition label