Class PendingMessage

  • All Implemented Interfaces:

    @Immutable() 
    public final class PendingMessage
    
                        

    Represents a message that is pending delivery or processing.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Message getMessage() The Message object containing all the content and attributes of the message.
      final Map<String, String> getMetadata() Additional metadata associated with this pending message, stored as key-value pairs.
      final PendingMessage.Builder newBuilder() Creates a new Builder instance with properties initialized from this PendingMessage.
      • Methods inherited from class java.lang.Object

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

      • getMetadata

         final Map<String, String> getMetadata()

        Additional metadata associated with this pending message, stored as key-value pairs.

      • newBuilder

        @SinceKotlin(version = "99999.9") final PendingMessage.Builder newBuilder()

        Creates a new Builder instance with properties initialized from this PendingMessage.

        Returns:

        A Builder instance for creating a modified copy of this PendingMessage.