Class CamelInternalProcessor.BacklogTracerAdvice

  • All Implemented Interfaces:
    org.apache.camel.Ordered, org.apache.camel.spi.CamelInternalProcessorAdvice
    Enclosing class:
    CamelInternalProcessor

    public static final class CamelInternalProcessor.BacklogTracerAdvice
    extends Object
    implements org.apache.camel.spi.CamelInternalProcessorAdvice, org.apache.camel.Ordered
    Advice to execute the BacklogTracer if enabled.
    • Constructor Detail

      • BacklogTracerAdvice

        public BacklogTracerAdvice​(BacklogTracer backlogTracer,
                                   org.apache.camel.NamedNode processorDefinition,
                                   org.apache.camel.NamedRoute routeDefinition,
                                   boolean first)
    • Method Detail

      • before

        public Object before​(org.apache.camel.Exchange exchange)
                      throws Exception
        Specified by:
        before in interface org.apache.camel.spi.CamelInternalProcessorAdvice
        Throws:
        Exception
      • after

        public void after​(org.apache.camel.Exchange exchange,
                          Object data)
                   throws Exception
        Specified by:
        after in interface org.apache.camel.spi.CamelInternalProcessorAdvice
        Throws:
        Exception
      • hasState

        public boolean hasState()
        Specified by:
        hasState in interface org.apache.camel.spi.CamelInternalProcessorAdvice
      • getOrder

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