Class ConfirmationStatus

java.lang.Object
com.rabbitmq.stream.ConfirmationStatus

public class ConfirmationStatus extends Object
The status to confirm or fail a message.
See Also:
  • Constructor Details

    • ConfirmationStatus

      public ConfirmationStatus(Message message, boolean confirmed, short code)
  • Method Details

    • getMessage

      public Message getMessage()
    • isConfirmed

      public boolean isConfirmed()
      Whether the message is confirmed or not.
      Returns:
      true if the message is confirmed by the broker, false otherwise
    • getCode

      public short getCode()
      The status code.
      Returns:
      status code
      See Also: