ProcessReportpublic class DefaultProcessReport extends Object implements ProcessReport
| Constructor | Description |
|---|---|
DefaultProcessReport() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
reportFail(Message message,
FinallyFailedProcessException e) |
Report a failed (finally failed) message
|
void |
reportFailAfterMaxRetries(Message message,
Exception e) |
Report a failed message, which failed after the maximum number of retries
|
void |
reportReject(Message message,
Exception e) |
Report a rejected (temporarily failed) message
|
void |
reportSuccess(Message message) |
Report a successfully handled message
|
public void reportSuccess(Message message)
ProcessReportreportSuccess in interface ProcessReportmessage - The message, which was successfully handledpublic void reportFail(Message message, FinallyFailedProcessException e)
ProcessReportreportFail in interface ProcessReportmessage - The message, which finally failede - The exception, why the message failedpublic void reportFailAfterMaxRetries(Message message, Exception e)
ProcessReportreportFailAfterMaxRetries in interface ProcessReportmessage - The message, which finally failed after the maximum number of retriese - The exception, why the message failedpublic void reportReject(Message message, Exception e)
ProcessReportreportReject in interface ProcessReportmessage - The message, which temporarily failede - The exception, why the message failedCopyright © 2018. All rights reserved.