Class PurgeQueue
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueue
Delete all messages (Queued or Dead letter Messages) in the given queue
Operation also matches
Operation also matches
DurableQueuesInterceptor.intercept(PurgeQueue, InterceptorChain)-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPurgeQueue(QueueName queueName) Delete all messages (Queued or Dead letter Messages) in the given queue -
Method Summary
Modifier and TypeMethodDescriptionstatic PurgeQueueBuilderbuilder()Create a new builder that produces a newPurgeQueueinstancetoString()
-
Field Details
-
queueName
-
-
Constructor Details
-
PurgeQueue
Delete all messages (Queued or Dead letter Messages) in the given queue- Parameters:
queueName- the name of the Queue where all the messages will be deleted
-
-
Method Details
-
builder
Create a new builder that produces a newPurgeQueueinstance- Returns:
- a new
PurgeQueueBuilderinstance
-
getQueueName
- Returns:
- the name of the Queue where all the messages will be deleted
-
toString
-