mirror of https://github.com/apache/activemq.git
more tuning
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9e3a3344ff
commit
00d054a6c2
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue