public static class CamelInternalProcessor.RouteLifecycleAdvice extends Object implements CamelInternalProcessorAdvice<Object>
Constructor and Description |
---|
CamelInternalProcessor.RouteLifecycleAdvice() |
public CamelInternalProcessor.RouteLifecycleAdvice()
public Object before(Exchange exchange) throws Exception
CamelInternalProcessorAdvice
before
in interface CamelInternalProcessorAdvice<Object>
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, Object object) throws Exception
CamelInternalProcessorAdvice
after
in interface CamelInternalProcessorAdvice<Object>
exchange
- the current exchangeobject
- the state, if any, returned in the CamelInternalProcessorAdvice.before(org.apache.camel.Exchange)
method.Exception
- is thrown if error during the call.Apache Camel