java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessageCountsFor

public final class GetQueuedMessageCountsFor extends Object
Get the total number of (non-dead-letter) messages queued and number of queued dead-letter Messages for the given queue
Operation also matched DurableQueuesInterceptor.intercept(GetQueuedMessageCountsFor, InterceptorChain)
  • Field Details

    • queueName

      public final QueueName queueName
      the name of the Queue where we will query for the total number of messages queued and number of queued Dead Letter Messages for the given queue
  • Constructor Details

    • GetQueuedMessageCountsFor

      public GetQueuedMessageCountsFor(QueueName queueName)
      Get the total number of messages queued (i.e. not including Dead Letter Messages) for the given queue
      Parameters:
      queueName - the name of the Queue where we will query for the number of queued messages
  • Method Details