(0.10 client) session does not ack messages before maxprefetch/2 is reached
----------------------------------------------------------------------------
Key: QPID-1665
URL: https://issues.apache.org/jira/browse/QPID-1665
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: M4
Reporter: Arnaud Simon
Fix For: M5
Description:
The following is done in AMQSession_0_10 method acknowledgeMessage
if (unackedCount >= prefetch/2)
{
flushAcknowledgments();
}
This results in messages not being acknowledged when prefetch > 1. The default
value of prefetch is 1 hence masking the problem.
Solution:
Only do that for org.apache.qpid.jms.Session.NO_ACKNOWLEDGE mode and ack
messages otherwise
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]