Class GetDeadLetterMessages

    • Field Detail

      • queueName

        public final QueueName queueName
    • Constructor Detail

      • GetDeadLetterMessages

        public GetDeadLetterMessages​(QueueName queueName,
                                     DurableQueues.QueueingSortOrder queueingSortOrder,
                                     long startIndex,
                                     long pageSize)
        Query Dead Letter Messages (i.e. not normal Queued Messages) for the given Queue
        Parameters:
        queueName - the name of the Queue where we will query for Dead letter messages
        queueingSortOrder - the sort order for the QueuedMessage.getId()
        startIndex - the index of the first message to include in the result (used for pagination)
        pageSize - how many messages to include in the result (used for pagination)
    • Method Detail

      • getQueueName

        public QueueName getQueueName()
        Returns:
        the name of the Queue where we will query for Dead letter messages
      • getStartIndex

        public long getStartIndex()
        Returns:
        the index of the first message to include in the result (used for pagination)
      • setStartIndex

        public void setStartIndex​(long startIndex)
        Parameters:
        startIndex - the index of the first message to include in the result (used for pagination)
      • getPageSize

        public long getPageSize()
        Returns:
        how many messages to include in the result (used for pagination)
      • setPageSize

        public void setPageSize​(long pageSize)
        Parameters:
        pageSize - how many messages to include in the result (used for pagination)