You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2014/08/15 00:17:44 UTC
git commit: Make comments match reality.
Repository: activemq
Updated Branches:
refs/heads/trunk 582fc0801 -> deee04015
Make comments match reality.
Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/deee0401
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/deee0401
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/deee0401
Branch: refs/heads/trunk
Commit: deee04015105b833553d0fe8d0ae4eaead60a3bf
Parents: 582fc08
Author: Timothy Bish <ta...@gmail.com>
Authored: Thu Aug 14 18:17:30 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Thu Aug 14 18:17:30 2014 -0400
----------------------------------------------------------------------
.../main/java/org/apache/activemq/ActiveMQMessageProducer.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq/blob/deee0401/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducer.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducer.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducer.java
index e45809a..2fec295 100755
--- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducer.java
+++ b/activemq-client/src/main/java/org/apache/activemq/ActiveMQMessageProducer.java
@@ -105,8 +105,7 @@ public class ActiveMQMessageProducer extends ActiveMQMessageProducerSupport impl
this.info.setDestination(destination);
- // Enable producer window flow control if protocol > 3 and the window
- // size > 0
+ // Enable producer window flow control if protocol >= 3 and the window size > 0
if (session.connection.getProtocolVersion() >= 3 && this.info.getWindowSize() > 0) {
producerWindow = new MemoryUsage("Producer Window: " + producerId);
producerWindow.setExecutor(session.getConnectionExecutor());