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

public class ResurrectDeadLetterMessage extends Object
Resurrect a Dead Letter Message for redelivery after the specified deliveryDelay
Note this method MUST be called within an existing UnitOfWork IF using TransactionalMode.FullyTransactional
Operation also matches DurableQueuesInterceptor.intercept(ResurrectDeadLetterMessage, InterceptorChain)
  • Field Details

  • Constructor Details

    • ResurrectDeadLetterMessage

      public ResurrectDeadLetterMessage(QueueEntryId queueEntryId, Duration deliveryDelay)
      Resurrect a Dead Letter Message for redelivery after the specified deliveryDelay
      Note this method MUST be called within an existing UnitOfWork IF using TransactionalMode.FullyTransactional
      Parameters:
      queueEntryId - the unique id of the Dead Letter Message that must we will retry the delivery of
      deliveryDelay - how long will the queue wait until it delivers the message to the DurableQueueConsumer
  • Method Details