Class ResurrectDeadLetterMessageBuilder
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.ResurrectDeadLetterMessageBuilder
Builder for
ResurrectDeadLetterMessage-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builder anResurrectDeadLetterMessageinstance from the builder propertiessetDeliveryDelay(Duration deliveryDelay) setQueueEntryId(QueueEntryId queueEntryId)
-
Constructor Details
-
ResurrectDeadLetterMessageBuilder
public ResurrectDeadLetterMessageBuilder()
-
-
Method Details
-
setQueueEntryId
- Parameters:
queueEntryId- the unique id of the Dead Letter Message that must we will retry the delivery of- Returns:
- this builder instance
-
setDeliveryDelay
- Parameters:
deliveryDelay- how long will the queue wait until it delivers the message to theDurableQueueConsumer- Returns:
- this builder instance
-
build
Builder anResurrectDeadLetterMessageinstance from the builder properties- Returns:
- the
ResurrectDeadLetterMessageinstance
-