Class DeleteMessage
java.lang.Object
dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.DeleteMessage
Delete a message (Queued or Dead Letter Message)
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(DeleteMessage, InterceptorChain)-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeleteMessage(QueueEntryId queueEntryId) Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteMessageBuilderbuilder()Create a new builder that produces a newDeleteMessageinstancetoString()
-
Field Details
-
queueEntryId
-
-
Constructor Details
-
DeleteMessage
Delete a message (Queued or Dead Letter Message)
Note this method MUST be called within an existingUnitOfWorkIF usingTransactionalMode.FullyTransactional- Parameters:
queueEntryId- the unique id of the Message to delete
-
-
Method Details
-
builder
Create a new builder that produces a newDeleteMessageinstance- Returns:
- a new
DeleteMessageBuilderinstance
-
getQueueEntryId
- Returns:
- the unique id of the Message to delete
-
toString
-