Class CamelInternalProcessor.NodeHistoryAdvice

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

public static class CamelInternalProcessor.NodeHistoryAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<String>
Advice that stores the node id and label of the processor that is processing the exchange.
  • Constructor Details

    • NodeHistoryAdvice

      public NodeHistoryAdvice(org.apache.camel.NamedNode definition)
  • Method Details

    • before

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

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

      public boolean hasState()
      Specified by:
      hasState in interface org.apache.camel.spi.CamelInternalProcessorAdvice<String>