Add another acknowledgement mode to enable acks for a window/batch of messages
------------------------------------------------------------------------------
Key: AMQ-1916
URL: https://issues.apache.org/activemq/browse/AMQ-1916
Project: ActiveMQ
Issue Type: Improvement
Components: Broker, JMS client
Affects Versions: 5.3.0
Environment: N/A
Reporter: Bonny Rais
Add ActiveMQSession.WINDOW_ACKNOWLEDGE (or some other constant) to enable
acknowledgement of a number of messages at once from a consumer. In this mode,
the message
being acknowledged will indicate all messages since the last acknowledgement up
to the specified messages are then acknowledged.
This assumes that there's message ordering in place (which is already be there
for queues and CLIENT_ACKNOWLEDGE mode).
This will allow consumers to indicate to the broker precisely what messages
have been processed, as well as decouple delivery of messages from processing
them without the need to store them
locally on the consumer persistently themselves. This will minimise network
chitchat that would otherwise occur with INDIVIDUAL_ACKNOWLEDGE, and will add
certainty about the state of
delivery of messages that is not possible with CLIENT_ACKNOWLEDGE (as there can
be lots of messages in flight sent by the broker but not yet processed).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.