|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.processor.idempotent.IdempotentOnCompletion
public class IdempotentOnCompletion
On completion strategy for IdempotentConsumer.
| Constructor Summary | |
|---|---|
IdempotentOnCompletion(IdempotentRepository idempotentRepository,
String messageId,
boolean eager)
|
|
| Method Summary | |
|---|---|
void |
onComplete(Exchange exchange)
Called when the processing of the message exchange is complete |
protected void |
onCompletedMessage(Exchange exchange,
String messageId)
A strategy method to allow derived classes to overload the behavior of processing a completed message |
protected void |
onFailedMessage(Exchange exchange,
String messageId)
A strategy method to allow derived classes to overload the behavior of processing a failed message |
void |
onFailure(Exchange exchange)
Called when the processing of the message exchange has failed for some reason. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IdempotentOnCompletion(IdempotentRepository idempotentRepository,
String messageId,
boolean eager)
| Method Detail |
|---|
public void onComplete(Exchange exchange)
Synchronization
onComplete in interface Synchronizationexchange - the exchange being processedpublic void onFailure(Exchange exchange)
SynchronizationExchange.getException() and
there could be a fault message via Exchange.getFault()
onFailure in interface Synchronizationexchange - the exchange being processed
protected void onCompletedMessage(Exchange exchange,
String messageId)
exchange - the exchangemessageId - the message ID of this exchange
protected void onFailedMessage(Exchange exchange,
String messageId)
exchange - the exchangemessageId - the message ID of this exchangepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||