mirror of
https://github.com/apache/activemq.git
synced 2025-02-09 03:25:33 +00:00
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:
parent
8f3f4e1ae0
commit
7a386be938
@ -125,7 +125,7 @@ public class ActiveMQConnection implements Connection, TopicConnection, QueueCon
|
|||||||
protected boolean asyncDispatch = false;
|
protected boolean asyncDispatch = false;
|
||||||
protected boolean alwaysSessionAsync=true;
|
protected boolean alwaysSessionAsync=true;
|
||||||
private boolean useAsyncSend = false;
|
private boolean useAsyncSend = false;
|
||||||
private boolean optimizeAcknowledge = true;
|
private boolean optimizeAcknowledge = false;
|
||||||
private boolean useRetroactiveConsumer;
|
private boolean useRetroactiveConsumer;
|
||||||
private int closeTimeout = 15000;
|
private int closeTimeout = 15000;
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ public class ActiveMQConnectionFactory extends JNDIBaseStorable implements Conne
|
|||||||
protected boolean asyncDispatch = false;
|
protected boolean asyncDispatch = false;
|
||||||
protected boolean alwaysSessionAsync=true;
|
protected boolean alwaysSessionAsync=true;
|
||||||
private boolean useAsyncSend = false;
|
private boolean useAsyncSend = false;
|
||||||
private boolean optimizeAcknowledge = true;
|
private boolean optimizeAcknowledge = false;
|
||||||
private int closeTimeout = 15000;
|
private int closeTimeout = 15000;
|
||||||
private boolean useRetroactiveConsumer;
|
private boolean useRetroactiveConsumer;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user