Package org.apache.camel.processor
Class CamelInternalProcessor.RouteLifecycleAdvice
- java.lang.Object
-
- org.apache.camel.processor.CamelInternalProcessor.RouteLifecycleAdvice
-
- All Implemented Interfaces:
org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
- Enclosing class:
- CamelInternalProcessor
public static class CamelInternalProcessor.RouteLifecycleAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice<Object>
Advice to invoke callbacks for before and after routing.
-
-
Constructor Summary
Constructors Constructor Description RouteLifecycleAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after(org.apache.camel.Exchange exchange, Object object)
Object
before(org.apache.camel.Exchange exchange)
boolean
hasState()
void
setRoute(org.apache.camel.Route route)
-
-
-
Method Detail
-
setRoute
public void setRoute(org.apache.camel.Route route)
-
hasState
public boolean hasState()
- Specified by:
hasState
in interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice<Object>
-
-