Class CamelInternalProcessor.BacklogDebuggerAdvice

java.lang.Object
org.apache.camel.impl.engine.CamelInternalProcessor.BacklogDebuggerAdvice
All Implemented Interfaces:
org.apache.camel.Ordered, org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>
Enclosing class:
CamelInternalProcessor

public static final class CamelInternalProcessor.BacklogDebuggerAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>, org.apache.camel.Ordered
Advice to execute the BacklogDebugger if enabled.
  • Field Summary

    Fields inherited from interface org.apache.camel.Ordered

    HIGHEST, LOWEST
  • Constructor Summary

    Constructors
    Constructor
    Description
    BacklogDebuggerAdvice(BacklogDebugger backlogDebugger, org.apache.camel.Processor target, org.apache.camel.NamedNode definition)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    after(org.apache.camel.Exchange exchange, org.apache.camel.util.StopWatch stopWatch)
     
    org.apache.camel.util.StopWatch
    before(org.apache.camel.Exchange exchange)
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.camel.spi.CamelInternalProcessorAdvice

    hasState
  • Constructor Details

    • BacklogDebuggerAdvice

      public BacklogDebuggerAdvice(BacklogDebugger backlogDebugger, org.apache.camel.Processor target, org.apache.camel.NamedNode definition)
  • Method Details

    • before

      public org.apache.camel.util.StopWatch before(org.apache.camel.Exchange exchange) throws Exception
      Specified by:
      before in interface org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>
      Throws:
      Exception
    • after

      public void after(org.apache.camel.Exchange exchange, org.apache.camel.util.StopWatch stopWatch) throws Exception
      Specified by:
      after in interface org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>
      Throws:
      Exception
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.apache.camel.Ordered