SDK reference / Models / Messaging

PeekedQueueMessage

Kind: class

Namespace: Egulu.Sdk.Models.Messaging

One message as :peek shows it: no lease token, no change of attempt or visibility.

Properties

NameTypeJSON nameDescription
Attemptint?attemptDeliveries so far (0 when never received).
AttributesModels.Messaging.PeekedQueueMessage_attributes?attributesThe message's attributes.
Bodystring?bodyThe payload, cut at `bodyBytes`. Customer data: untrusted output (ADR-0902).
BodyTruncatedbool?bodyTruncatedTrue when the body was cut.
EnqueueTimeDateTimeOffset?enqueueTimeWhen the message was enqueued.
LeaseExpiresAtDateTimeOffset?leaseExpiresAtWhen the current lease ends, for an in-flight message.
MessageIdstring?messageIdImmutable UUIDv7 message ID.
SizeBytesint?sizeBytesStored payload size in bytes.
Statestring?state`VISIBLE`, `IN_FLIGHT` or `DELAYED`.
VisibleAtDateTimeOffset?visibleAtWhen the message is (or became) visible for `:receive`.