|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Synchronization
Provides a hook for custom Processor or Component
instances to respond to completed or failed processing of an Exchange rather like Spring's
TransactionSynchronization
| Method Summary | |
|---|---|
void |
onComplete(Exchange exchange)
Called when the processing of the message exchange is complete |
void |
onFailure(Exchange exchange)
Called when the processing of the message exchange has failed for some reason. |
| Method Detail |
|---|
void onComplete(Exchange exchange)
exchange - the exchange being processedvoid onFailure(Exchange exchange)
Exchange.getException() and
there could be a fault message via Exchange.getFault()
exchange - the exchange being processed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||