You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by lq...@apache.org on 2016/09/08 09:38:17 UTC
svn commit: r1759774 -
/qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java
Author: lquack
Date: Thu Sep 8 09:38:17 2016
New Revision: 1759774
URL: http://svn.apache.org/viewvc?rev=1759774&view=rev
Log:
QPID-7394: [Java Client, AMQP 0-8..0-91] Correct prefetch accounting when message rolled back
Modified:
qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java
Modified: qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java
URL: http://svn.apache.org/viewvc/qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java?rev=1759774&r1=1759773&r2=1759774&view=diff
==============================================================================
--- qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java (original)
+++ qpid/java/trunk/client/src/main/java/org/apache/qpid/client/AMQSession_0_8.java Thu Sep 8 09:38:17 2016
@@ -809,9 +809,10 @@ public class AMQSession_0_8 extends AMQS
TxRollbackBody body = getMethodRegistry().createTxRollbackBody();
AMQFrame frame = body.generateFrame(getChannelId());
getProtocolHandler().syncWrite(frame, TxRollbackOkBody.class);
+ _currentPrefetch.set(0);
}
- public void setPrefetchLimits(final int messagePrefetch, final long sizePrefetch)
+ void setPrefetchLimits(final int messagePrefetch, final long sizePrefetch)
throws QpidException, FailoverException
{
_currentPrefetch.set(0);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org