Interface MessageMonitorReport.Report

All Known Implementing Classes:
MessageMonitorReport.Report.Failure, MessageMonitorReport.Report.Ignored, MessageMonitorReport.Report.Success
Enclosing class:
MessageMonitorReport

public static sealed interface MessageMonitorReport.Report permits MessageMonitorReport.Report.Success, MessageMonitorReport.Report.Failure, MessageMonitorReport.Report.Ignored
Represents a report that provides details about the processing of a message. This interface serves as a base type for various report implementations, each reflecting a specific processing outcome.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Represents a failure report indicating an error occurred during the processing of a message.
    static final record 
    Represents an ignored report, indicating that the processing of a message was bypassed or not handled.
    static final record 
    Represents a successful report indicating that a message has been processed successfully.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the message associated with the report.
  • Method Details

    • message

      Message message()
      Retrieves the message associated with the report.
      Returns:
      the reported message