activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From magellings <>
Subject Re: JMS Docs???
Date Fri, 30 Oct 2009 18:14:35 GMT

How come individual acknowledgement mode isn't documented?

4.4.11 Message Acknowledgment
If a session is transacted, message acknowledgment is handled automatically
by commit, and recovery is handled automatically by rollback.
If a session is not transacted, there are three acknowledgment options, and
recovery is handled manually:
• DUPS_OK_ACKNOWLEDGE - This option instructs the session to lazily
acknowledge the delivery of messages. This is likely to result in the
of some duplicate messages if JMS fails, so it should be used only by
consumers that are tolerant of duplicate messages. Its benefit is the
reduction of session overhead achieved by minimizing the work the session
does to prevent duplicates.
• AUTO_ACKNOWLEDGE - With this option, the session automatically
acknowledges a client’s receipt of a message when it has either successfully
returned from a call to receive or the MessageListener it has called to
the message successfully returns.
• CLIENT_ACKNOWLEDGE - With this option, a client acknowledges a
message by calling the message’s acknowledge method. Acknowledging a
consumed message automatically acknowledges the receipt of all messages
that have been delivered by its session.

Timothy Bish wrote:
> On Fri, 2009-10-30 at 08:41 -0700, magellings wrote:
>> Where can one find a link to the JMS Docs???  I'd like to get a better
>> understanding of some of the JMS specs so I can better understand various
>> features, etc with ActiveMQ.
>> Timothy states "From JMS Docs on ClientAcknowledge" in this issue.  Where
>> does one find this information?
>> Found this regarding acknowledgement modes/transactions, but probably is
>> not
>> authentic as seems like a Sun version of JMS.
>> I'm looking for full documentation however not just acknowledgement
>> modes.
>> -Thanks
> The JMS Spec docs are here:
> The bit that I quoted in the issue was from the javadocs in the
> interface.
> Regards
> Tim.
> -- 
> Tim Bish

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message