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