jakartaee / jakartaee/messaging

Support for pre-acknowledge ack mode

Open
#21 8 comments 0 reactions 0 assignees View on GitHub
New Feature pd20-forreview-major Priority: Major
Dominant language
Java
Stars
49
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Many messaging systems allow messages to be automatically acknowledged on the server before they are delivered to their consumers. This feature is useful for transient messaging use cases where it does not matter if some messages are lost on failure (e.g. stock pricing information).

JMS does not currently provide an acknowledgment mode which supports pre-acknowledgment on the server, so there's extra (unnecessary) traffic due to acks having to be sent from client--server.

In reality most JMS implementations provide pre-ack as an extension to the set of JMS ack modes. I would like to propose that pre-ack is added to the list of standard ack modes in JMS.
#### Affected Versions
[1.1]

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the JMS acknowledgment modes and the proposal in this issue, including the stated JMS 1.1 context. Determine the API and specification changes needed for a standard pre-acknowledgment mode; done means the proposal is implemented consistently and covered by appropriate compatibility tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.