-
- All Implemented Interfaces:
public interface MessageMonitor.MonitorCallbackAn interface to let the message processor inform the message monitor of the result of processing the message
-
-
Method Summary
Modifier and Type Method Description abstract voidreportSuccess()Notify the monitor that the message was handled successfully abstract voidreportFailure(Throwable cause)Notify the monitor that a failure occurred during processing of the message abstract voidreportIgnored()Notify the monitor that the message was ignored -
-
Method Detail
-
reportSuccess
abstract void reportSuccess()
Notify the monitor that the message was handled successfully
-
reportFailure
abstract void reportFailure(Throwable cause)
Notify the monitor that a failure occurred during processing of the message
- Parameters:
cause- ornullif unknown
-
reportIgnored
abstract void reportIgnored()
Notify the monitor that the message was ignored
-
-
-
-