Class GetQueuedMessageCountsFor
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessageCountsFor
Get the total number of (non-dead-letter) messages queued and number of queued dead-letter Messages for the given queue
Operation also matched
Operation also matched
DurableQueuesInterceptor.intercept(GetQueuedMessageCountsFor, InterceptorChain)-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetQueuedMessageCountsFor(QueueName queueName) Get the total number of messages queued (i.e. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder that produces a newGetQueuedMessageCountsForinstancetoString()
-
Field Details
-
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
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
-
builder
Create a new builder that produces a newGetQueuedMessageCountsForinstance- Returns:
- a new
GetQueuedMessageCountsForBuilderinstance
-
getQueueName
- Returns:
- the name of the Queue where we will query for the number of queued messages
-
toString
-