Package org.apache.camel.impl.engine
Class CamelInternalProcessor.NodeHistoryAdvice
- java.lang.Object
-
- org.apache.camel.impl.engine.CamelInternalProcessor.NodeHistoryAdvice
-
- All Implemented Interfaces:
org.apache.camel.spi.CamelInternalProcessorAdvice
- Enclosing class:
- CamelInternalProcessor
public static class CamelInternalProcessor.NodeHistoryAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice
Advice that stores the node id and label of the processor that is processing the exchange.
-
-
Constructor Summary
Constructors Constructor Description NodeHistoryAdvice(org.apache.camel.NamedNode definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafter(org.apache.camel.Exchange exchange, Object data)Stringbefore(org.apache.camel.Exchange exchange)booleanhasState()
-
-
-
Method Detail
-
before
public String before(org.apache.camel.Exchange exchange) throws Exception
- Specified by:
beforein interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice- Throws:
Exception
-
after
public void after(org.apache.camel.Exchange exchange, Object data) throws Exception- Specified by:
afterin interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice- Throws:
Exception
-
hasState
public boolean hasState()
- Specified by:
hasStatein interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice
-
-