Package org.apache.camel.processor
Class CamelInternalProcessor.RoutePolicyAdvice
- java.lang.Object
-
- org.apache.camel.processor.CamelInternalProcessor.RoutePolicyAdvice
-
- All Implemented Interfaces:
org.apache.camel.spi.CamelInternalProcessorAdvice
- Enclosing class:
- CamelInternalProcessor
public static class CamelInternalProcessor.RoutePolicyAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice
Advice to execute anyRoutePolicy
a route may have been configured with.
-
-
Constructor Summary
Constructors Constructor Description RoutePolicyAdvice(List<org.apache.camel.spi.RoutePolicy> routePolicies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after(org.apache.camel.Exchange exchange, Object data)
Object
before(org.apache.camel.Exchange exchange)
boolean
hasState()
void
setRoute(org.apache.camel.Route route)
-
-
-
Constructor Detail
-
RoutePolicyAdvice
public RoutePolicyAdvice(List<org.apache.camel.spi.RoutePolicy> routePolicies)
-
-
Method Detail
-
setRoute
public void setRoute(org.apache.camel.Route route)
-
before
public Object before(org.apache.camel.Exchange exchange) throws Exception
- Specified by:
before
in interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice
- Throws:
Exception
-
after
public void after(org.apache.camel.Exchange exchange, Object data) throws Exception
- Specified by:
after
in interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice
- Throws:
Exception
-
hasState
public boolean hasState()
- Specified by:
hasState
in interfaceorg.apache.camel.spi.CamelInternalProcessorAdvice
-
-