From 00d054a6c267c04d011c9ea8ca018c45ecdaa3ac Mon Sep 17 00:00:00 2001 From: Robert Davies Date: Wed, 12 Apr 2006 15:52:06 +0000 Subject: [PATCH] more tuning git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393490 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/activemq/ActiveMQMessageConsumer.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java index e9cb0999e6..f205904836 100755 --- a/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java +++ b/activemq-core/src/main/java/org/apache/activemq/ActiveMQMessageConsumer.java @@ -189,9 +189,7 @@ public class ActiveMQMessageConsumer implements MessageAvailableConsumer, StatsC this.session.removeConsumer(this); throw e; } - this.optimizeAcknowledge=session.connection.isOptimizeAcknowledge()&&!info.isDurable() - &&!info.getDestination().isQueue() - &&session.isAutoAcknowledge(); + this.optimizeAcknowledge=session.connection.isOptimizeAcknowledge()&&session.isAutoAcknowledge(); if (session.connection.isStarted()) start(); }