|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface CamelInternalProcessorAdvice<T>
An advice (before and after) to execute cross cutting functionality in the Camel routing engine.
The Camel routing engine will execute thebefore(org.apache.camel.Exchange)
and
after(org.apache.camel.Exchange, Object)
methods during routing in correct order.
CamelInternalProcessor
Method Summary | |
---|---|
void |
after(Exchange exchange,
T data)
Callback executed after processing a step in the route. |
T |
before(Exchange exchange)
Callback executed before processing a step in the route. |
Method Detail |
---|
T before(Exchange exchange) throws Exception
exchange
- the current exchange
after(org.apache.camel.Exchange, Object)
method, or use null for no state.
Exception
- is thrown if error during the call.void after(Exchange exchange, T data) throws Exception
exchange
- the current exchangedata
- the state, if any, returned in the 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 |