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