Class BreakpointSupport

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

public abstract class BreakpointSupport extends Object implements org.apache.camel.spi.Breakpoint
A support class for Breakpoint implementations to use as base class.

Will be in active state.

  • 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
     
    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)
     
    org.apache.camel.spi.Breakpoint.State
     
    void
    onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event, org.apache.camel.NamedNode definition)
     
    void
     

    Methods inherited from class java.lang.Object

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

    • BreakpointSupport

      public BreakpointSupport()
  • Method Details

    • getState

      public org.apache.camel.spi.Breakpoint.State getState()
      Specified by:
      getState in interface org.apache.camel.spi.Breakpoint
    • suspend

      public void suspend()
      Specified by:
      suspend in interface org.apache.camel.spi.Breakpoint
    • activate

      public void activate()
      Specified by:
      activate in interface org.apache.camel.spi.Breakpoint
    • 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
    • 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
    • onEvent

      public void onEvent(org.apache.camel.Exchange exchange, org.apache.camel.spi.CamelEvent.ExchangeEvent event, org.apache.camel.NamedNode definition)
      Specified by:
      onEvent in interface org.apache.camel.spi.Breakpoint