Uses of Class
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.MarkAsDeadLetterMessage
-
Packages that use MarkAsDeadLetterMessage Package Description dk.cloudcreate.essentials.components.foundation.messaging.queue dk.cloudcreate.essentials.components.foundation.messaging.queue.operations -
-
Uses of MarkAsDeadLetterMessage in dk.cloudcreate.essentials.components.foundation.messaging.queue
Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue with parameters of type MarkAsDeadLetterMessage Modifier and Type Method Description default Optional<QueuedMessage>DurableQueuesInterceptor. intercept(MarkAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<MarkAsDeadLetterMessage,Optional<QueuedMessage>,DurableQueuesInterceptor> interceptorChain)InterceptMarkAsDeadLetterMessagecallsOptional<QueuedMessage>DurableQueues. markAsDeadLetterMessage(MarkAsDeadLetterMessage operation)Mark an already Queued Message as a Dead Letter Message (or Poison Message).
Dead Letter Messages won't be delivered to anyDurableQueueConsumer(called by theDurableQueueConsumer)
To deliver a Dead Letter Message you must first resurrect the message usingDurableQueues.resurrectDeadLetterMessage(QueueEntryId, Duration)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactionalMethod parameters in dk.cloudcreate.essentials.components.foundation.messaging.queue with type arguments of type MarkAsDeadLetterMessage Modifier and Type Method Description default Optional<QueuedMessage>DurableQueuesInterceptor. intercept(MarkAsDeadLetterMessage operation, dk.cloudcreate.essentials.shared.interceptor.InterceptorChain<MarkAsDeadLetterMessage,Optional<QueuedMessage>,DurableQueuesInterceptor> interceptorChain)InterceptMarkAsDeadLetterMessagecalls -
Uses of MarkAsDeadLetterMessage in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations
Methods in dk.cloudcreate.essentials.components.foundation.messaging.queue.operations that return MarkAsDeadLetterMessage Modifier and Type Method Description MarkAsDeadLetterMessageMarkAsDeadLetterMessageBuilder. build()Builder anMarkAsDeadLetterMessageinstance from the builder properties
-