java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.PurgeQueueBuilder

public class PurgeQueueBuilder extends Object
Builder for PurgeQueue
  • Constructor Details

    • PurgeQueueBuilder

      public PurgeQueueBuilder()
  • Method Details

    • setQueueName

      public PurgeQueueBuilder setQueueName(QueueName queueName)
      Parameters:
      queueName - the name of the Queue where all the messages will be deleted
      Returns:
      this builder instance
    • build

      public PurgeQueue build()
      Builder an PurgeQueue instance from the builder properties
      Returns:
      the PurgeQueue instance