Package 

Interface MessageMonitor.MonitorCallback

  • All Implemented Interfaces:

    
    public interface MessageMonitor.MonitorCallback
    
                        

    An interface to let the message processor inform the message monitor of the result of processing the message

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void reportSuccess() Notify the monitor that the message was handled successfully
      abstract void reportFailure(Throwable cause) Notify the monitor that a failure occurred during processing of the message
      abstract void reportIgnored() Notify the monitor that the message was ignored
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 - or null if unknown
      • reportIgnored

         abstract void reportIgnored()

        Notify the monitor that the message was ignored