Class GetTotalDeadLetterMessagesQueuedFor
- java.lang.Object
-
- dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetTotalDeadLetterMessagesQueuedFor
-
public class GetTotalDeadLetterMessagesQueuedFor extends Object
Get the total number of dead-letter-messages/poison-messages queued for the given queue
Operation also matchedDurableQueuesInterceptor.intercept(GetTotalDeadLetterMessagesQueuedFor, InterceptorChain)
-
-
Constructor Summary
Constructors Constructor Description GetTotalDeadLetterMessagesQueuedFor(QueueName queueName)Get the total number of dead-letter-messages/poison-messages queued for the given queue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTotalMessagesQueuedForBuilderbuilder()Create a new builder that produces a newGetTotalDeadLetterMessagesQueuedForinstanceQueueNamegetQueueName()StringtoString()
-
-
-
Field Detail
-
queueName
public final QueueName queueName
the name of the Queue where we will query for the number of dead-letter-messages/poison-messages queued for the given queue
-
-
Constructor Detail
-
GetTotalDeadLetterMessagesQueuedFor
public GetTotalDeadLetterMessagesQueuedFor(QueueName queueName)
Get the total number of dead-letter-messages/poison-messages queued for the given queue- Parameters:
queueName- the name of the Queue where we will query for the number of dead-letter-messages/poison-messages queued for the given queue
-
-
Method Detail
-
builder
public static GetTotalMessagesQueuedForBuilder builder()
Create a new builder that produces a newGetTotalDeadLetterMessagesQueuedForinstance- Returns:
- a new
GetTotalMessagesQueuedForBuilderinstance
-
getQueueName
public QueueName getQueueName()
- Returns:
- the name of the Queue where we will query for the number of queued messages
-
-