Class 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.
    • Constructor Detail

      • BacklogDebuggerAdvice

        public BacklogDebuggerAdvice​(BacklogDebugger backlogDebugger,
                                     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