Class GetDeadLetterMessage
- java.lang.Object
-
- dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetDeadLetterMessage
-
public class GetDeadLetterMessage extends Object
Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetDeadLetterMessage, InterceptorChain)
-
-
Field Summary
Fields Modifier and Type Field Description QueueEntryIdqueueEntryIdThe messages unique queue entry id
-
Constructor Summary
Constructors Constructor Description GetDeadLetterMessage(QueueEntryId queueEntryId)Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetDeadLetterMessageBuilderbuilder()Create a new builder that produces a newGetDeadLetterMessageinstanceQueueEntryIdgetQueueEntryId()StringtoString()
-
-
-
Field Detail
-
queueEntryId
public final QueueEntryId queueEntryId
The messages unique queue entry id
-
-
Constructor Detail
-
GetDeadLetterMessage
public GetDeadLetterMessage(QueueEntryId queueEntryId)
Get a queued message that's marked as aQueuedMessage.isDeadLetterMessage()- Parameters:
queueEntryId- the messages unique queue entry id
-
-
Method Detail
-
builder
public static GetDeadLetterMessageBuilder builder()
Create a new builder that produces a newGetDeadLetterMessageinstance- Returns:
- a new
GetDeadLetterMessageBuilderinstance
-
getQueueEntryId
public QueueEntryId getQueueEntryId()
- Returns:
- the messages unique queue entry id
-
-