Class AcknowledgeMessageAsHandled
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.AcknowledgeMessageAsHandled
Mark the message as acknowledged - this operation also deletes the messages from the Queue
Note this method MUST be called within an existing
Operation also matches
Note this method MUST be called within an existing
UnitOfWork IF
using TransactionalMode.FullyTransactionalOperation also matches
DurableQueuesInterceptor.intercept(AcknowledgeMessageAsHandled, InterceptorChain)-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeMessageAsHandled(QueueEntryId queueEntryId) Mark the message as acknowledged - this operation deleted the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new builder that produces a newAcknowledgeMessageAsHandledinstancetoString()
-
Field Details
-
queueEntryId
-
-
Constructor Details
-
AcknowledgeMessageAsHandled
Mark the message as acknowledged - this operation deleted the messages from the Queue
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional- Parameters:
queueEntryId- the unique id of the Message to acknowledge
-
-
Method Details
-
builder
Create a new builder that produces a newAcknowledgeMessageAsHandledinstance- Returns:
- a new
AcknowledgeMessageAsHandledBuilderinstance
-
getQueueEntryId
- Returns:
- the unique id of the Message to acknowledge
-
toString
-