public static class CamelInternalProcessor.RoutePolicyAdvice extends Object implements org.apache.camel.spi.CamelInternalProcessorAdvice
RoutePolicy
a route may have been configured with.Constructor and Description |
---|
RoutePolicyAdvice(List<org.apache.camel.spi.RoutePolicy> routePolicies) |
Modifier and Type | Method and 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) |
public RoutePolicyAdvice(List<org.apache.camel.spi.RoutePolicy> routePolicies)
public void setRoute(org.apache.camel.Route route)
public Object before(org.apache.camel.Exchange exchange) throws Exception
before
in interface org.apache.camel.spi.CamelInternalProcessorAdvice
Exception
public void after(org.apache.camel.Exchange exchange, Object data) throws Exception
after
in interface org.apache.camel.spi.CamelInternalProcessorAdvice
Exception
public boolean hasState()
hasState
in interface org.apache.camel.spi.CamelInternalProcessorAdvice
Apache Camel