CamelInternalProcessor.UnitOfWorkProcessorAdvice@Deprecated public static class CamelInternalProcessor.RouteContextAdvice extends Object implements CamelInternalProcessorAdvice<UnitOfWork>
| Constructor and Description |
|---|
RouteContextAdvice(RouteContext routeContext)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(Exchange exchange,
UnitOfWork unitOfWork)
Deprecated.
Callback executed after processing a step in the route.
|
UnitOfWork |
before(Exchange exchange)
Deprecated.
Callback executed before processing a step in the route.
|
public RouteContextAdvice(RouteContext routeContext)
public UnitOfWork before(Exchange exchange) throws Exception
CamelInternalProcessorAdvicebefore in interface CamelInternalProcessorAdvice<UnitOfWork>exchange - the current exchangeCamelInternalProcessorAdvice.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, UnitOfWork unitOfWork) throws Exception
CamelInternalProcessorAdviceafter in interface CamelInternalProcessorAdvice<UnitOfWork>exchange - the current exchangeunitOfWork - the state, if any, returned in the CamelInternalProcessorAdvice.before(org.apache.camel.Exchange) method.Exception - is thrown if error during the call.Apache Camel