Class MarkAsDeadLetterMessage

    • Method Detail

      • getQueueEntryId

        public QueueEntryId getQueueEntryId()
        Returns:
        the unique id of the message that must be marked as a Dead Letter Message
      • getCauseForBeingMarkedAsDeadLetter

        public Exception getCauseForBeingMarkedAsDeadLetter()
        Returns:
        the reason for the message being marked as a Dead Letter Message
      • setCauseForBeingMarkedAsDeadLetter

        public void setCauseForBeingMarkedAsDeadLetter​(Exception causeForBeingMarkedAsDeadLetter)
        Parameters:
        causeForBeingMarkedAsDeadLetter - the reason for the message being marked as a Dead Letter Message
      • validate

        public void validate()