Class GetTotalMessagesQueuedFor
- java.lang.Object
-
- dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalMessagesQueuedFor
-
public class GetTotalMessagesQueuedFor extends Object
Get the total number of messages queued (i.e. not including Dead Letter Messages) for the given queue
Operation also matchedDurableQueuesInterceptor.intercept(GetTotalMessagesQueuedFor, InterceptorChain)
-
-
Constructor Summary
Constructors Constructor Description GetTotalMessagesQueuedFor(QueueName queueName)Get the total number of messages queued (i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTotalMessagesQueuedForBuilderbuilder()Create a new builder that produces a newGetTotalMessagesQueuedForinstanceQueueNamegetQueueName()StringtoString()
-
-
-
Field Detail
-
queueName
public final QueueName queueName
the name of the Queue where we will query for the number of queued messages
-
-
Constructor Detail
-
GetTotalMessagesQueuedFor
public GetTotalMessagesQueuedFor(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 Detail
-
builder
public static GetTotalMessagesQueuedForBuilder builder()
Create a new builder that produces a newGetTotalMessagesQueuedForinstance- Returns:
- a new
GetTotalMessagesQueuedForBuilderinstance
-
getQueueName
public QueueName getQueueName()
- Returns:
- the name of the Queue where we will query for the number of queued messages
-
-