Rafael Schloming wrote:
>
>
> The JMS spec isn't fully consistent on this point. It clearly states
> that with AUTO_ACKNOWLEDGE acks are sent *after* the message listener is
> invoked, so (with listeners at least) this window will always exist even
> if you sync the acks.
>
Yes indeed. This is a known glaring inconsistency in the spec.
> With receive() of course the ack happens before the application sees the
> message, so you could avoid the window by syncing there, however I don't
> know offhand of anything that directly states that should be the case.
>
JMS spec is explicit in that it requires "at most once" semantics in this
case, this surely implies you must sync the ack before returning from
receive().
How else would you guarantee those semantics without syncing?
--
View this message in context:
http://www.nabble.com/JMS-Acknowledgements-sent-asynchronously--tp17519565p17642794.html
Sent from the Qpid Developers mailing list archive at Nabble.com.