|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.processor.CamelInternalProcessor.RoutePolicyAdvice
public static class CamelInternalProcessor.RoutePolicyAdvice
Advice to execute any RoutePolicy a route may have been configured with.
| Constructor Summary | |
|---|---|
CamelInternalProcessor.RoutePolicyAdvice(List<RoutePolicy> routePolicies)
|
|
| Method Summary | |
|---|---|
void |
after(Exchange exchange,
Object data)
Callback executed after processing a step in the route. |
Object |
before(Exchange exchange)
Callback executed before processing a step in the route. |
protected boolean |
isRoutePolicyRunAllowed(RoutePolicy policy)
Strategy to determine if this policy is allowed to run |
void |
setRoute(Route route)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CamelInternalProcessor.RoutePolicyAdvice(List<RoutePolicy> routePolicies)
| Method Detail |
|---|
public void setRoute(Route route)
protected boolean isRoutePolicyRunAllowed(RoutePolicy policy)
policy - the policy
public Object before(Exchange exchange)
throws Exception
CamelInternalProcessorAdvice
before in interface CamelInternalProcessorAdviceexchange - the current exchange
CamelInternalProcessorAdvice.after(org.apache.camel.Exchange, Object) method, or use null for no state.
Exception - is thrown if error during the call.
public void after(Exchange exchange,
Object data)
throws Exception
CamelInternalProcessorAdvice
after in interface CamelInternalProcessorAdviceexchange - the current exchangedata - the state, if any, returned in the CamelInternalProcessorAdvice.before(org.apache.camel.Exchange) method.
Exception - is thrown if error during the call.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||