Skip to content

Track message delivery state in QueueMessageReference #1797

@jeanouii

Description

@jeanouii

Add a delivered flag to QueueMessageReference to distinguish between messages that are pending dispatch and messages that have been dispatched to a consumer but
not yet acknowledged.

Currently, once a message is dispatched to a consumer, there is no way to know whether the consumer has confirmed receipt (via delivered ack) or if the message is
still in-flight. This adds a delivered boolean that is set to true when processing DeliveredAck in PrefetchSubscription, enabling better visibility into message
lifecycle state.

Metadata

Metadata

Assignees

Labels

javaPull requests that update java code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions