Class CamelInternalProcessor.DebuggerAdvice

  • 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.DebuggerAdvice
    extends Object
    implements org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>, org.apache.camel.Ordered
    Advice to execute when using custom debugger.
    • Field Summary

      • Fields inherited from interface org.apache.camel.Ordered

        HIGHEST, LOWEST
    • Constructor Summary

      Constructors 
      Constructor Description
      DebuggerAdvice​(org.apache.camel.spi.Debugger debugger, org.apache.camel.Processor target, org.apache.camel.NamedNode definition)  
    • Constructor Detail

      • DebuggerAdvice

        public DebuggerAdvice​(org.apache.camel.spi.Debugger debugger,
                              org.apache.camel.Processor target,
                              org.apache.camel.NamedNode definition)
    • Method Detail

      • 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