mirror of https://github.com/apache/activemq.git
make lazy dispatch the default for queues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636067 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4fcacf7772
commit
7d70fec53a
|
@ -16,8 +16,6 @@
|
|||
*/
|
||||
package org.apache.activemq.broker.region;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.activemq.broker.Broker;
|
||||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.activemq.broker.ConnectionContext;
|
||||
|
@ -45,7 +43,7 @@ public abstract class BaseDestination implements Destination {
|
|||
private int maxPageSize=1000;
|
||||
private boolean useCache=true;
|
||||
private int minimumMessageSize=1024;
|
||||
private boolean lazyDispatch;
|
||||
private boolean lazyDispatch=true;
|
||||
protected final DestinationStatistics destinationStatistics = new DestinationStatistics();
|
||||
protected final BrokerService brokerService;
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ public class PolicyEntry extends DestinationMapEntry {
|
|||
private long minimumMessageSize=1024;
|
||||
private boolean useConsumerPriority=true;
|
||||
private boolean strictOrderDispatch=false;
|
||||
private boolean lazyDispatch;
|
||||
private boolean lazyDispatch=true;
|
||||
|
||||
public void configure(Broker broker,Queue queue) {
|
||||
if (dispatchPolicy != null) {
|
||||
|
|
Loading…
Reference in New Issue