Skip to content

Consider implementing Driver::rejectMessage() #134

@jmikola

Description

@jmikola

See conversation in #133 (comment) for context.

When drivers pop a message off the queue, they may leave it persisted but flip the visible flag so it's not picked up by future pops. In turn, acknowledgeMessage() may permanently remove the message from the queue. If it's relevant to enough drivers, rejectMessage() would revert the visible flag on messages, thereby allowing it to be picked up again.

Alternatively, you may decided that popped messages should simply be enqueued again if the work was not successfully completed. I don't really have an opinion on this, but wanted to create the issue as a placeholder for future discussion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions