Class CamelInternalProcessor.TracingAdvice

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

public static class CamelInternalProcessor.TracingAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>
Advice for tracing
  • Constructor Summary

    Constructors
    Constructor
    Description
    TracingAdvice(org.apache.camel.CamelContext camelContext, org.apache.camel.spi.Tracer tracer, org.apache.camel.NamedNode processorDefinition, org.apache.camel.NamedRoute routeDefinition, boolean first)
     
  • Method Summary

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

    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

    • TracingAdvice

      public TracingAdvice(org.apache.camel.CamelContext camelContext, org.apache.camel.spi.Tracer tracer, org.apache.camel.NamedNode processorDefinition, org.apache.camel.NamedRoute routeDefinition, boolean first)
  • 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 data) throws Exception
      Specified by:
      after in interface org.apache.camel.spi.CamelInternalProcessorAdvice<org.apache.camel.util.StopWatch>
      Throws:
      Exception