set default for optimize acknowledge to false

For performance - recommend use DUPS_OK acknowledge - at least its clear what your going to get -
and it performs better too

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-06-09 07:38:25 +00:00
parent 8f3f4e1ae0
commit 7a386be938
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
protected boolean asyncDispatch = false;
protected boolean alwaysSessionAsync=true;
private boolean useAsyncSend = false;
private boolean optimizeAcknowledge = true;
private boolean optimizeAcknowledge = false;
private boolean useRetroactiveConsumer;
private int closeTimeout = 15000;

View File

@ -81,7 +81,7 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne
protected boolean asyncDispatch = false;
protected boolean alwaysSessionAsync=true;
private boolean useAsyncSend = false;
private boolean optimizeAcknowledge = true;
private boolean optimizeAcknowledge = false;
private int closeTimeout = 15000;
private boolean useRetroactiveConsumer;