Class GetQueuedMessage
- java.lang.Object
-
- dk.cloudcreate.essentials.components.foundation.messaging.queue.operations.GetQueuedMessage
-
public class GetQueuedMessage extends Object
Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()
Operation also matchesDurableQueuesInterceptor.intercept(GetQueuedMessage, InterceptorChain)
-
-
Field Summary
Fields Modifier and Type Field Description QueueEntryIdqueueEntryIdthe messages unique queue entry id
-
Constructor Summary
Constructors Constructor Description GetQueuedMessage(QueueEntryId queueEntryId)Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetQueuedMessageBuilderbuilder()Create a new builder that produces a newGetQueuedMessageinstanceQueueEntryIdgetQueueEntryId()StringtoString()
-
-
-
Field Detail
-
queueEntryId
public final QueueEntryId queueEntryId
the messages unique queue entry id
-
-
Constructor Detail
-
GetQueuedMessage
public GetQueuedMessage(QueueEntryId queueEntryId)
Get a queued message that is NOT marked as aQueuedMessage.isDeadLetterMessage()- Parameters:
queueEntryId- the messages unique queue entry id
-
-
Method Detail
-
builder
public static GetQueuedMessageBuilder builder()
Create a new builder that produces a newGetQueuedMessageinstance- Returns:
- a new
GetQueuedMessageBuilderinstance
-
getQueueEntryId
public QueueEntryId getQueueEntryId()
- Returns:
- the messages unique queue entry id
-
-